IInfraredFrameSource::GetFrameCapturedEventData Method

Gets the event data when a new infrared frame is captured.

Syntax

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

Parameters

  • waitableHandle
    Type: WAITABLE_HANDLE
    [in] The handle to event handler that will process the event data.
  • 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