Share via


INuiFrameTexture::UnlockRect Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Unlocks the buffer.

Syntax

public:
HRESULT UnlockRect(
         UINT Level
)

Parameters

  • Level
    Type: UINT
    [in] Must be zero.

Return Value

Type: HRESULT
Returns S_OK if successful; otherwise, returns a failure code.

Error Description
E_INVALIDARG The Level parameter is not zero.

Requirements

Header: Declared in NuiSensor.h; however, include NuiApi.h in your project.