MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

CoSuspendClassObjects

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function prevents any new activation requests from the SCM on all class objects registered within the process.


WINOLEAPI CoSuspendClassObjects(void);

None.

S_OK

Activation of class objects was successfully suspended.

CoSuspendClassObjects prevents any new activation requests from the SCM on all class objects registered within the process.

Even though a process may call this API, the process still must call CoRevokeClassObject for each CLSID it has registered, in the apartment it registered in.

Applications typically do not need to call this API, which is generally only called internally by OLE when used in conjunction with CoReleaseServerProcess.

To determine whether the platform supports this function, see Determining Supported COM APIs.

Headerobjbase.h
Libraryole32.lib
Windows Embedded CEWindows CE 3.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2016 Microsoft