// wdm.h
CLFSUSER_API NTSTATUS ClfsCreateMarshallingAreaEx(
PLOG_FILE_OBJECT plfoLog,
POOL_TYPE ePoolType,
PALLOCATE_FUNCTION pfnAllocBuffer,
PFREE_FUNCTION pfnFreeBuffer,
ULONG cbMarshallingBuffer,
ULONG cMaxWriteBuffers,
ULONG cMaxReadBuffers,
ULONG cAlignmentSize,
ULONGLONG fFlags,
PVOID *ppvMarshalContext
);
View the official Windows Driver Kit DDI referenceNo description available.
Initializes a marshalling area for a physical or client log file stream.
plfoLogThe handle associated with new marshalling area.
ePoolTypePaged or non-paged pool buffers.
pfnAllocBufferOptional. A pointer to the block allocation callback function.
pfnFreeBufferOptional. A pointer to the block deallocation callback function.
cbMarshallingBufferThe size of marshalling buffers.
cMaxWriteBuffersThe maximum number of allocated write buffers.
cMaxReadBuffersThe maximum number of allocated read buffers.
cAlignmentSizeThe alignment size of marshalling buffers.
fFlagsbuffer management flag
ppvMarshalContextmarshalling context
This function returns CLFSUSER_API NTSTATUS.