Export (0) Print
Expand All

INuiSensor::NuiSkeletonGetNextFrame Method

Gets the next frame of data from the skeleton stream.

public:
HRESULT NuiSkeletonGetNextFrame(
         DWORD dwMillisecondsToWait,
         NUI_SKELETON_FRAME *pSkeletonFrame
)

Parameters

dwMillisecondsToWait
Type: DWORD
[in] The timeout (in milliseconds) before returning without a new frame.
pSkeletonFrame
Type: NUI_SKELETON_FRAME
[out] A pointer to a NUI_SKELETON_FRAME structure that receives the next image frame in the skeleton stream.

Return Value

Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the following failure codes: E_POINTER, E_NUI_FRAME_NO_DATA.

Header: Declared in NuiSensor.h, however, include NuiApi.h in your project.

Community Additions

Show:
© 2014 Microsoft