Share via


IBodyIndexFrameSource::OpenReader Method

Creates a frame reader for the body index frame source.

Syntax

public:
HRESULT OpenReader(
         IBodyIndexFrameReader **reader
)

Parameters

  • reader
    Type: IBodyIndexFrameReader
    [out] A new reader for the body index frame source.

Return value

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

Requirements

Header: kinect.h

Library: kinect20.lib