RxDestroyMidAtlas function (midatlax.h)

RxDestroyMidAtlas destroys an existing instance of a MID_ATLAS data structure and frees the allocated memory.

Syntax

void RxDestroyMidAtlas(
  PRX_MID_ATLAS       MidAtlas,
  PCONTEXT_DESTRUCTOR ContextDestructor
);

Parameters

MidAtlas

The MID_ATLAS structure to be freed.

ContextDestructor

An associated context destructor.

Return value

None

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 part of a MID_ATLAS data structure allocated by calling RxCreateMidAtlas.

RxDestroyMidAtlas destroys a MID_ATLAS data structure previously created by a call to RxCreateMidAtlas. As a side effect, RxDestroyMidAtlas invokes the passed in context destructor on every valid context in the MID_ATLAS.

Requirements

Requirement Value
Target Platform Desktop
Header midatlax.h (include Midatlax.h)
IRQL <= APC_LEVEL

See also

RxAssociateContextWithMid

RxCreateMidAtlas

RxMapAndDissociateMidFromContext

RxMapMidToContext

RxReassociateMid