Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function removes a registered request for persistent notifications.

Syntax

HRESULT WINAPI RegistryStopNotification(
  LPCTSTR 
pszName
);

Parameters

pszName

String that identifies the change notification request.

Return Value

The following table shows the return values for this function.

Value Description

S_OK

Registered request for change notification is removed .

E_INVALIDARG

Invalid pszName.

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.

Pending notifications in the client will be lost.

Requirements

Header regext.h
Library aygshell.lib
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Pocket PC for Windows Mobile Version 5.0 and later, Smartphone for Windows Mobile Version 5.0 and later

See Also