Platform SDK: Group Policy

UnregisterGPNotification

The UnregisterGPNotification function closes the specified policy-notification handle.

BOOL UnregisterGPNotification(
  HANDLE hEvent
);

Parameters

hEvent
[in] Policy-notification handle returned by the RegisterGPNotification function.

Return Values

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero. To get extended error information, call GetLastError.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Userenv.h.
  Library: Use Userenv.lib.

See Also

Group Policy Overview, Group Policy Functions, RegisterGPNotification