Share via


Deregister and Disable a Profile

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

The following code example shows how to deregister and disable a profile contained in the list of enabled profiles. The operations in the Initialize RTC and Create and Enable a Profile examples must be performed before using this code.

Note

This code has not been thoroughly tested, does not contain error checking, and is not intended for production use.

hr = pIRTCClientProvisioning->DisableProfile(pIRTCProfile);

// if (hr != S_OK) process error here. 

See Also

Concepts

Fundamental RTC Code Examples