Deregister and Disable a Profile

The following code example shows how to deregister and disable a profile contained in the list of enabled profiles. The operations in the Initialize the Communications Service 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. 

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.