Skip to main content

GetShapeSrcCommandType

Gets the current SRC command.

Syntax

Parameters

context   _In_
Type: SHAPE_SRC_CONTEXT*
Pointer to a SHAPE_SRC_CONTEXT object.

Return value

Type: SHAPE_SRC_COMMAND_TYPE A member of the SHAPE_SRC_COMMAND_TYPE enumeration.

Remarks

The three SRC commands are as follows. For more details, see SHAPE_SRC_COMMAND_TYPE. To change the SRC command, use SetShapeSrcCommand. SRC commands can be reported as blocked. For more information, see the Blocked commands section of Overview of SHAPE.

Requirements

Header: shapesrccontext.h Supported platforms: XBOX One family consoles and XBOX Series consoles

See also

ShapeSrcContext
Last modified on August 20, 2026