Microsoft SDK for Java

RegisterObjectBound

This method of the IBindCtx interface calls IUnknown::AddRef on the specified object to ensure that the object remains active until the bind context is released. The method stores a pointer to the object in the bind context's internal list of pointers.

Syntax

public void RegisterObjectBound(IUnknown punk);

Return Values

This method supports the standard return value E_OUTOFMEMORY, as well as the following:

S_OK -- The object was successfully registered.

Parameters

[in] punk The pointer to the IUnknown interface on the object that is being registered as bound.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.