Deregister and Disable a Profile (Windows Embedded CE 6.0)
1/6/2010
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.