WscUnRegisterChanges function

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

Syntax

HRESULT WscUnRegisterChanges(
  HANDLE hRegistrationHandle
);

Parameters

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

   
Windows version Windows Vista [desktop apps only] None supported
Target Platform Windows
Header wscapi.h
Library Wscapi.lib
DLL Wscapi.dll

See Also

WscRegisterForChanges