IBodyIndexFrameReader::GetFrameArrivedEventData Method
Gets the event data when a new frame arrives.
Syntax
public:
HRESULT GetFrameArrivedEventData(
WAITABLE_HANDLE waitableHandle,
IBodyIndexFrameArrivedEventArgs **eventData
)
Parameters
- waitableHandle
Type: WAITABLE_HANDLE
[in] The handle to event handler that will process the event data. - eventData
Type: IBodyIndexFrameArrivedEventArgs
[out] The event data.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.
Requirements
Header: kinect.h
Library: kinect20.lib