Share via


INuiSensor::AddRef Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Increments the reference count.

Syntax

public:
ULONG AddRef()

Return Value

Type: ULONG
Returns the reference count. This value is intended to be used only for test purposes.

Remarks

Call this method for every new copy of an interface pointer that you make.

Requirements

Header: Declared in Unknwn.h.