IBindCtx::GetBindOptions  1US12VR

Returns the binding options stored in this bind context.

HRESULT GetBindOptions(

    BIND_OPTS *pbindopts

//Pointer to a structure

   );

 

 

Parameter

pbindopts

[in, out] Pointer to an initialized BIND_OPTS3_HO_Y. structure on entry that receives the current binding parameters on return.

 

Return Values

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

S_OK

The stored binding options were successfully returned.

 

Remarks

A bind context contains a block of parameters, stored in a BIND_OPTS3_HO_Y. structure, that are common to most IMoniker18XK102 operations and that do not change as the operation moves from piece to piece of a composite moniker.

Notes to Callers

You typically call this method if you are writing your own moniker class (this requires that you implement the IMoniker18XK102 interface). You call this method to retrieve the parameters specified by the moniker client.

You must initialize the BIND_OPTS3_HO_Y. structure that is filled in by this method. Before calling this method, you must initialize the cbStruct field of the structure to the size of the BIND_OPTS structure.

See Also

IBindCtx::SetBindOptions