Ole32CreateBindCtx Method

Returns a pointer to an implementation of IBindCtx (a bind context object).

This object stores information about a particular moniker-binding operation.

Definition

Namespace: DevCase.Win32.NativeMethods
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
[DllImportAttribute("Ole32.dll")]
public static HResult CreateBindCtx(
	[OptionalAttribute] uint reserved,
	out IBindCtx refBindContext
)

Parameters

reserved  UInt32  (Optional)
This parameter is reserved and must be 0.
refBindContext  IBindCtx
Address of an IBindCtx pointer variable that receives the interface pointer to the new bind context object.

When the function is successful, the caller is responsible for calling Release on the bind context.

A value of for the refBindContext value indicates that an error occurred.

Return Value

HResult
Returns S_OK on success, or other HResult if an error occurs.

Remarks

See Also