RegistryCloseNotification

Send Feedback

The function removes a registered request for transient notifications. It also closes the notification handle.

HRESULT WINAPI RegistryCloseNotification( 
  HREGNOTIFY hNotify
);

Parameters

  • hNotify
    [in] Handle to a valid notification.

Return Values

The following table shows the return values for this function.

Value Description
S_OK Registered request for change notification is removed.
E_INVALIDARG Invalid hNotify.
E_NOT_FOUND Cannot find notification request in the list.

Remarks

Success indicates that the change notification request was removed. Failure does not cause any change.

RegistryCloseNotification searches for references to hNotify and removes them from the list. The memory associated with hNotify is freed. Pending notifications are lost.

Requirements

Pocket PC: Windows Mobile 5.0 and later.
Smartphone: Windows Mobile 5.0 and later.
OS Versions: Windows CE 5.01 and later.
Header: Regext.h
Link Library: Aygshell.lib

See Also

State and Notifications Broker Functions | State and Notifications Broker Reference | State and Notifications Broker

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.