ISyncProviderRegistration::RevokeEvent method (syncregistration.h)

Unregisters the user from the notification of the arrival of new registration events.

Syntax

HRESULT RevokeEvent(
  [in] HANDLE hEvent
);

Parameters

[in] hEvent

The HANDLE returned by the RegisterForEvent method.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_INVALIDARG
The specified event has not been registered.

Remarks

This method closes the specified HANDLE and cleans up any related memory.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header syncregistration.h

See also

ISyncProviderRegistration Interface