Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

NuiSkeletonGetNextFrame

Gets the next frame of data from the skeleton stream.

HRESULT NuiSkeletonGetNextFrame(
         DWORD dwMillisecondsToWait,
         NUI_SKELETON_FRAME *pSkeletonFrame
)

Parameters

dwMillisecondsToWait
Type: DWORD
[in] The time in milliseconds that NuiSkeletonGetNextFrame must wait before returning without a frame.
pSkeletonFrame
Type: NUI_SKELETON_FRAME
A pointer to a NUI_SKELETON_FRAME structure that contains the next image frame in the skeleton stream. This parameter cannot be NULL.

Return Value

Type: HRESULT
Returns S_OK if successful; otherwise, returns one of the failure codes in the following table.
ErrorDescription
E_POINTERThe pSkeletonFrame parameter is an invalid handle.

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

Community Additions

Show:
© 2015 Microsoft