ClfsAllocReservedLog - NtDoc

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

CLFSUSER_API NTSTATUS ClfsAllocReservedLog(
  [in] PVOID     pvMarshalContext,
  [in] ULONG     cRecords,
  [in] PLONGLONG pcbAdjustment
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdm-clfsallocreservedlog)

ClfsAllocReservedLog function

Description

The ClfsAllocReservedLog routine reserves space in a marshalling area for a set of records.

Parameters

pvMarshalContext [in]

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

cRecords [in]

The number of records in the set. This value must match the value of cRecords previously passed to ClfsAlignReservedLog.

pcbAdjustment [in]

A pointer to a LONGLONG-typed variable that supplies the size, in bytes, of the reservation that will hold all the records in the set. The caller previously obtained this size by calling ClfsAlignReservedLog.

Return value

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

Remarks

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

See also

ClfsAlignReservedLog