Ole32CreateBindCtx Method
Returns a pointer to an implementation of
IBindCtx (a bind context object).
This object stores information about a particular moniker-binding operation.
Namespace: DevCase.Win32.NativeMethodsAssembly: 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
)
<DllImportAttribute("Ole32.dll">]
Public Shared Function CreateBindCtx (
<OptionalAttribute> reserved As UInteger,
<OutAttribute> ByRef refBindContext As IBindCtx
) As HResult
Dim reserved As UInteger
Dim refBindContext As IBindCtx
Dim returnValue As HResult
returnValue = Ole32.CreateBindCtx(reserved,
refBindContext)
public:
[DllImportAttribute(L"Ole32.dll")]
static HResult CreateBindCtx(
[OptionalAttribute] unsigned int reserved,
[OutAttribute] IBindCtx^% refBindContext
)
[<DllImportAttribute("Ole32.dll")>]
static member CreateBindCtx :
[<OptionalAttribute>] reserved : uint32 *
refBindContext : IBindCtx byref -> HResult
No code example is currently available or this language may not be supported.
- 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.
HResult
Returns
S_OK on success, or other
HResult if an error occurs.