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.

IBindCtx::RevokeObjectBound method

Removes the object from the bind context, undoing a previous call to RegisterObjectBound.

Syntax


HRESULT RevokeObjectBound(
  [in]  IUnknown *punk
);

Parameters

punk [in]

A pointer to the IUnknown interface on the object to be removed.

Return value

This method can return the following values.

Return codeDescription
S_OK

The object was released successfully.

MK_E_NOTBOUND

The object was not previously registered.

 

Remarks

You would rarely call this method. It is documented primarily for completeness.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Header

ObjIdl.h

IDL

ObjIdl.idl

IID

IID_IBindCtx is defined as 0000000e-0000-0000-C000-000000000046

See also

IBindCtx

 

 

Community Additions

Show:
© 2014 Microsoft