Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

RxReassociateMid function

RxReassociateMid reassociates a Multiplex ID (MID) with an alternate context.

Syntax


NTSTATUS RxReassociateMid(
   PRX_MID_ATLAS pMidAtlas,
   USHORT        Mid,
   PVOID         pNewContext
);

Parameters

pMidAtlas

A pointer to the MID_ATLAS structure.

Mid

The multiplex ID to be mapped.

pNewContext

A pointer that will hold the new context for this MID on exit.

Return value

RxReassociateMid returns STATUS_SUCCESS on success. The returned pNewMid parameter can be NULL if no context is associated with this MID.

Remarks

RDBSS defines a MID as a 16-bit value, which 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

Target platform

Desktop

Header

Midatlax.h (include Midatlax.h)

IRQL

<= APC_LEVEL

See also

RxAssociateContextWithMid
RxCreateMidAtlas
RxDestroyMidAtlas
RxMapMidToContext
RxMapAndDissociateMidFromContext

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft