4.1.13.1.27 DS_REPL_CLIENT_CONTEXT

The DS_REPL_CLIENT_CONTEXT structure defines an active RPC client connection. This structure is a concrete representation of a tuple in an RPCClientContexts sequence.

 typedef struct {
   ULONGLONG hCtx;
   LONG lReferenceCount;
   BOOL fIsBound;
   UUID uuidClient;
   DSTIME timeLastUsed;
   ULONG IPAddr;
   int pid;
 } DS_REPL_CLIENT_CONTEXT;

hCtx: The unique ID of the client context.

lReferenceCount: The number of references to the context.

fIsBound: True if and only if the context has not yet been closed by the IDL_DRSUnbind method.

uuidClient: Zeros, or the value pointed to by the puuidClientDsa parameter to IDL_DRSBind.

timeLastUsed: The date and time at which this context was last used in an RPC method call.

IPAddr: The IPv4 address of the client. If the client is connected with IPv6, this field MUST be 0.

pid: The process ID specified by the client in the pextClient parameter to IDL_DRSBind.