Export (0) Print
Expand All

RPC_BINDING_HANDLE_OPTIONS_V1 structure

The RPC_BINDING_HANDLE_OPTIONS_V1 structure contains additional options with which to create an RPC binding handle.

Syntax


typedef struct {
  unsigned long Version;
  unsigned long Flags;
  unsigned long ComTimeout;
  unsigned long CallTimeout;
} RPC_BINDING_HANDLE_OPTIONS_V1, RPC_BINDING_HANDLE_OPTIONS;

Members

Version

The version of this structure. For RPC_BINDING_HANDLE_OPTIONS_V1 this must be set to 1.

Flags

A set of flags describing specific RPC behaviors. This parameter can be set to one or more of the following values. Note that by default, RPC calls use causal order and socket lingering.

ValueMeaning
RPC_BHO_NONCAUSAL

Specifies causal ordering whereby calls are executed independently of one another rather than in order of submission.

RPC_BHO_DONTLINGER

Specifies that a socket association must be shutdown after the last binding handle on it is freed.

 

ComTimeout

The communication timeout value, specified in microseconds. The default value for RPC is RPC_C_BINDING_DEFAULT_TIMEOUT. This option can be changed later by calling RpcMgmtSetComTimeout.

CallTimeout

The call timeout value, specified in microseconds. The default value for RPC is 0.

Remarks

If this structure is not specified in a call to RpcBindingCreate, the default values for each option are used.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Rpcdce.h (include Rpc.h)

See also

RPC_BINDING_HANDLE
RpcBindingBind
RpcBindingCreate

 

 

Community Additions

ADD
Show:
© 2014 Microsoft