This topic has not yet been rated - Rate this topic

INuiSensor::NuiStatus Method

Kinect for Windows 1.5, 1.6, 1.7

Gets the connection status of the Kinect sensor.
public:
HRESULT NuiStatus(
         void
)

Parameters

Type: void
Unused

Return Value

Type: HRESULT
Returns S_OK if the device is valid and properly connected. Otherwise, returns one of the following error codes:
ErrorDescription
S_NUI_INITIALIZINGThe device is connected, but still initializing.
E_NUI_NOTCONNECTEDThe device is not connected.
E_NUI_NOTGENUINEThe device is not a valid Kinect.
E_NUI_NOTSUPPORTEDThe device is an unsupported model.
E_NUI_INSUFFICIENTBANDWIDTHThe device is connected to a hub without the necessary bandwidth requirements.
E_NUI_NOTPOWEREDThe device is connected, but unpowered.
E_NUI_NOTREADYThere was some other unspecified error.
Header: Declared in NuiSensor.h; however, include NuiApi.h in your project.
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.