Share via


IDepthFrameSource::GetFrameCapturedEventData Method

Gets the event data from a captured frame event.

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