Export (0) Print
Expand All
Expand Minimize

RxMapMidToContext function

RxMapMidToContext maps a Multiplex ID (MID) to its associated context in a MID_ATLAS structure.

Syntax


PVOID RxMapMidToContext(
  PRX_MID_ATLAS pMidAtlas,
  USHORT Mid
);

Parameters

pMidAtlas

A pointer to the MID_ATLAS structure.

Mid

The multiplex ID to be mapped.

Return value

RxMapMidToContext returns a pointer to the associated context, or NULL if none exists.

Remarks

RDBSS defines a Multiplex ID (MID), a 16-bit value, that can be used by both the network client (mini-redirector) and the server to distinguish between the concurrently active requests on any connection. A MID is a component of a MID_ATLAS data structure allocated by calling RxCreateMidAtlas. A MID_MAP data structure is allocated and used for mapping MIDs to RX_CONTEXT data structures.

Requirements

Header

Midatlax.h (include Midatlax.h)

IRQL

<= APC_LEVEL

See also

RxAssociateContextWithMid
RxCreateMidAtlas
RxDestroyMidAtlas
RxMapAndDissociateMidFromContext
RxReassociateMid

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft