Index   Commented   Search   About

IBindCtx::GetBindOptions

Returns the binding options stored in this bind context.

HRESULT GetBindOptions(

BIND_OPTS *pbindopts
//Points to a BIND_OPTS structure
);

Parameter

pbindopts

[in, out] Points to a BIND_OPTS structure that receives the current binding parameters. For more information on the BIND_OPTS structure, see the "Data Structures" section.

Return Values

S_OK

The stored binding options were successfully returned.

E_UNEXPECTED

Indicates an unexpected error.

Comments

A bind context contains a block of parameters, stored in a BIND_OPTS structure, that are common to most IMoniker 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 (that is, implementing the IMoniker interface). You call this method to retrieve the parameters specified by the moniker client.

You must provide the BIND_OPTS 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

Related Links

Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET

More Online Helps

Win32 Programmer's Reference (win32.hlp)
Win32 Multimedia Programmer's Reference (mmedia.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (sock2.hlp)
Unix Manual Pages

Free Tech Secrets ;) Copyright © 2008 Free Tect Secrets ;) greatis just4fun network just4fun