RpcMgmtInqComTimeout function (rpcdce.h)
The RpcMgmtInqComTimeout function returns the binding-communications time-out value in a binding handle.
RPC_STATUS RpcMgmtInqComTimeout( RPC_BINDING_HANDLE Binding, unsigned int *Timeout );
Specifies a binding.
Returns a pointer to the time-out value from the Binding parameter.
||The call succeeded.|
||The binding handle was invalid.|
||This was the wrong kind of binding for the operation.|
A client application calls RpcMgmtInqComTimeout to view the time-out value in a server binding handle. The time-out value specifies the relative amount of time that should be spent to wait for a response from the server before giving up. For a table of the time-out values, see Binding Time-out Constants. For more information on how the COM time-out operates, and when to use it, see RPC and the Network.
A client also calls RpcMgmtSetComTimeout to change the time-out value.
|Minimum supported client||Windows 2000 Professional [desktop apps only]|
|Minimum supported server||Windows 2000 Server [desktop apps only]|
|Header||rpcdce.h (include Rpc.h)|