Share via


INuiAudioBeam::Release Method

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Decrements the reference count for an interface on an object.

Syntax

public:
ULONG Release()

Return Value

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

Remarks

Call this method when you no longer need to use an interface pointer. If you are writing a method that takes an in-out parameter, call Release on the pointer you are passing in before copying the out-value on top of it.

Requirements

Header: Declared in Unknwn.h.