WscUnRegisterChanges function (wscapi.h)

Cancels a callback registration that was made by a call to the WscRegisterForChanges function.

Syntax

HRESULT WscUnRegisterChanges(
  [in] HANDLE hRegistrationHandle
);

Parameters

[in] hRegistrationHandle

The handle to the registration context returned as the phCallbackRegistration of the WscRegisterForChanges function.

Return value

Returns S_OK if the function succeeds, otherwise returns an error code.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header wscapi.h
Library Wscapi.lib
DLL Wscapi.dll

See also

WscRegisterForChanges