nn::gd::CTR::System::GetCommandBufferOffset Member Function

Syntax

static nnResult GetCommandBufferOffset(
     u32 * offset
);

Arguments

Name Description
out offset Stores the current command buffer offset value for the command list object being saved.
in packetId Specifies an object in the command list object for which save has started.

Return Values

Returns the result of the operation.
Value Description
ResultSuccess Process was successful.
ResultNullParameter NULL was specified in an argument.
ResultSystemInvalidPacketId The command list object is not correct or the saving of the command list object has not started. Execute the StartRecordingPackets function.

Description

Gets the current offset for the command buffer for which a command list object save has started.

See Also

System::StartRecordingPackets

Revision History

2011/02/17
Initial version.

CONFIDENTIAL