Share via


IBodyIndexFrameSource::GetFrameCapturedEventData Method

Retrieves the body index frame source event data when a frame is captured.

Syntax

public:
HRESULT GetFrameCapturedEventData(
         WAITABLE_HANDLE waitableHandle,
         IFrameCapturedEventArgs **eventData
)

Parameters

  • waitableHandle
    Type: WAITABLE_HANDLE
    [in] The handle to the event handler.
  • eventData
    Type: IFrameCapturedEventArgs
    [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