RxMapAndDissociateMidFromContext - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// midatlax.h

NTSTATUS RxMapAndDissociateMidFromContext(
  PRX_MID_ATLAS MidAtlas,
  USHORT        Mid,
  PVOID         *ContextPointer
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-midatlax-rxmapanddissociatemidfromcontext)

RxMapAndDissociateMidFromContext function

Description

RxMapAndDissociateMidFromContext maps a Multiplex ID (MID) to its associated context in a MID_ATLAS structure and then disassociates the MID from the context.

Parameters

MidAtlas

A pointer to the MID_ATLAS structure.

Mid

The multiplex ID to be mapped.

ContextPointer

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

Return value

RxReassociateMid always returns STATUS_SUCCESS.

The returned pContextPointer parameter is a pointer to the associated context, or a NULL if no context was associated with this MID.

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.

See also

RxAssociateContextWithMid

RxCreateMidAtlas

RxDestroyMidAtlas

RxMapMidToContext

RxReassociateMid