Share via


CCscSearchApiInterface::DelRef method

Decrements the reference count for a CCscSearchApiInterface object.

Syntax

LONG DelRef();

Parameters

This method has no parameters.

Return value

Type: LONG

An integer that specifies the new reference count. When the reference count drops to 0, the CCscSearchApiInterface object will free itself. This value is intended to be used for diagnostic or testing purposes only.

Remarks

The purpose of this method is similar to that of IUnknown::Release. Call this function whenever a pointer to the CCscSearchApiInterface object is no longer needed.

Requirements

Minimum supported client

Windows Vista, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Cscsearchapiif.hxx

See also

CCscSearchApiInterface

CscSearchApiGetInterface

CCscSearchApiInterface::AddRef