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.
Returns S_OK if successful; otherwise, returns one of the failure codes in the following table.
| Error | Description |
|---|---|
| E_POINTER | The pSkeletonFrame parameter is an invalid handle. |