Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Kinect for Windows 1.5, 1.6, 1.7, 1.8
Gets the connection status of the Kinect sensor.
Syntax
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:
Error | Description |
---|---|
S_NUI_INITIALIZING | The device is connected, but still initializing. |
E_NUI_NOTCONNECTED | The device is not connected. |
E_NUI_NOTGENUINE | The device is not a valid Kinect. |
E_NUI_NOTSUPPORTED | The device is an unsupported model. |
E_NUI_INSUFFICIENTBANDWIDTH | The device is connected to a hub without the necessary bandwidth requirements. |
E_NUI_NOTPOWERED | The device is connected, but unpowered. |
E_NUI_NOTREADY | There was some other unspecified error. |
Requirements
Header: Declared in NuiSensor.h; however, include NuiApi.h in your project.