IColorFrameSource::OpenReader Method
Creates a frame reader for the color frame source.
Syntax
public:
HRESULT OpenReader(
IColorFrameReader **reader
)
Parameters
- reader
Type: IColorFrameReader
[out] A new frame reader for the color frame source.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.
Requirements
Header: kinect.h
Library: kinect20.lib