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 a description of the buffer.
Syntax
public:
HRESULT GetLevelDesc(
UINT Level,
NUI_SURFACE_DESC *pDesc
)
Parameters
- Level
Type: UINT
[in] Unused; must be 0. - pDesc
Type: NUI_SURFACE_DESC
A pointer to a NUI_SURFACE_DESC structure that receives the dimensions of the buffer.
Return Value
Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.
Error | Description |
---|---|
E_INVALIDARG | The Level parameter is not zero. |
E_POINTER | The pDesc parameter is NULL. |
Requirements
Header: Declared in NuiSensor.h; however, include NuiApi.h in your project.