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
Result::IsSuccess Process was successful.
ResultNullParameter NULL was specified in an argument.
ResultSystemInvalidPacketId The command list object is invalid or the saving the command list object has not started. Be sure to execute StartRecordingPackets.

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