次の方法で共有


CoSuspendClassObjects (Windows CE 5.0)

Send Feedback

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

WINOLEAPI CoSuspendClassObjects(void);

Parameters

None.

Return Values

  • S_OK
    Activation of class objects was successfully suspended.

Remarks

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.

Requirements

OS Versions: Windows CE 3.0 and later.
Header: Objbase.h.
Link Library: Ole32.lib.

See Also

COM Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.