IKinectSensor::get_UniqueKinectId Method
Gets the unique ID of the Kinect sensor.
Syntax
public:
HRESULT get_UniqueKinectId(
UINT bufferSize,
WCHAR *uniqueKinectId
)
Parameters
- bufferSize
Type: UINT
The size of the string buffer that will contain the ID. - uniqueKinectId
Type: WCHAR
[out] Unique ID of the Kinect sensor.
Return value
Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.
Requirements
Header: kinect.h
Library: kinect20.lib