Share via


IDepthFrameReader::get_DepthFrameSource Method

Gets the source of the depth frames.

Syntax

public:
HRESULT get_DepthFrameSource(
         IDepthFrameSource **depthFrameSource
)

Parameters

  • depthFrameSource
    Type: IDepthFrameSource
    [out] The source of the depth frames.

Return value

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

Requirements

Header: kinect.h

Library: kinect20.lib