Share via


IDepthFrameReader::SubscribeFrameArrived Method

Subscribes to the specified event handler to process new depth frames.

Syntax

public:
HRESULT SubscribeFrameArrived(
         WAITABLE_HANDLE *waitableHandle
)

Parameters

  • waitableHandle
    Type: WAITABLE_HANDLE
    [out] The handle to the subscribed event handler.

Return value

Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.

Requirements

Header: kinect.h

Library: kinect20.lib