共用方式為


BIND_OPTS2 Struct

Definition

Contains parameters used during a moniker-binding operation.

public value class BIND_OPTS2
struct BIND_OPTS2
[System.Runtime.InteropServices.ComConversionLoss]
public struct BIND_OPTS2
[<System.Runtime.InteropServices.ComConversionLoss>]
type BIND_OPTS2 = struct
Public Structure BIND_OPTS2
Inheritance
BIND_OPTS2
Attributes

Remarks

A BIND_OPTS2 structure is stored in a bind context. The same bind context is used by each component of a composite moniker during binding, allowing the same parameters to be passed to all components of a composite moniker.

Fields

cbStruct

Represents the size of the BIND_OPTS2 structure in bytes.

dwClassContext

Represents the class context that is to be used for instantiating the object.

dwTickCountDeadline

Represents the clock time in milliseconds.

dwTrackFlags

Represents a value that a moniker can use during link tracking.

grfFlags

Represents flags that control aspects of moniker binding operations.

grfMode

Represents flags that should be used when opening the file that contains the object identified by the moniker.

locale

Represents the LCID value indicating the client's preference for which locale to be used when binding an object.

pServerInfo

Allows clients to specify server information when calling IMoniker::BindToObject.

Applies to