Bewerken

Delen via


ClfsDeleteMarshallingArea function (wdm.h)

The ClfsDeleteMarshallingArea routine deletes a marshalling area.

Syntax

CLFSUSER_API NTSTATUS ClfsDeleteMarshallingArea(
  [in] PVOID pvMarshalContext
);

Parameters

[in] pvMarshalContext

A pointer to an opaque context that represents a marshalling area. The caller previously obtained this pointer by calling ClfsCreateMarshallingArea.

Return value

ClfsDeleteMarshallingArea returns STATUS_SUCCESS if it succeeds; otherwise, it returns one of the error codes defined in Ntstatus.h.

Remarks

Before deleting the marshalling area, ClfsDeleteMarshallingArea flushes all of the log I/O blocks associated with the marshalling area.

The marshalling area goes away only after all references to it go away. For example, the marshalling area remains in memory if it still has an open read context.

For an explanation of CLFS concepts and terminology, see Common Log File System.

Requirements

Requirement Value
Minimum supported client Available in Windows Server 2003 R2, Windows Vista, and later versions of Windows.
Target Platform Desktop
Header wdm.h (include Wdm.h)
Library Clfs.lib
DLL Clfs.sys
IRQL <= APC_LEVEL

See also

ClfsCreateMarshallingArea