Freigeben über


IBindCtx::ReleaseBoundObjects (Windows CE 5.0)

Send Feedback

This method releases all pointers to all objects that were previously registered by calls to the IBindCtx::RegisterObjectBound method.

The IBindCtx::ReleaseBoundObjects method is supported in DCOM, but it is not supported in COM.

Calling this method in COM returns a value of E_NOTIMPL.

HRESULT ReleaseBoundObjects(void);

Parameters

None.

Return Values

  • S_OK
    The objects were released successfully.

Remarks

You rarely call this method directly. The system's IBindCtx implementation calls this method when the pointer to the IBindCtx interface on the bind context is released. If a bind context is not released, all of the registered objects remain active.

If the same object has been registered more than once, this method calls the IUnknown::Release method on the object the number of times it was registered.

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

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Objidl.h, Objidl.idl.
Link Library: Ole32.lib, Uuid.lib.

See Also

IBindCtx | IBindCtx::RegisterObjectBound | IUnknown::Release

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.