// ntifs.h
BOOLEAN FsRtlInitializeBaseMcbEx(
PBASE_MCB Mcb,
POOL_TYPE PoolType,
USHORT Flags
);
View the official Windows Driver Kit DDI referenceNo description available.
FsRtlInitializeBaseMcbEx initializes a new MCB structure.
McbContains a pointer to the MCB structure to initialize.
PoolTypeSpecifies the pool type to use when allocating additional internal MCB memory.
FlagsA bitmask of flags that specifies what action(s) to take when a MCB mapping is empty. Contains one of the following values.
| Flag | Value |
|---|---|
| MCB_FLAG_RAISE_ON_ALLOCATION_FAILURE | 1 |
This function returns TRUE if it successfully initializes the MCB structure.
The caller must supply the memory for the MCB structure. This call must precede all other calls that set/query the MCB structure.
If pool is not available this routine will raise a status value indicating insufficient resources or return false depending on the flags.
FsRtlInitializeBaseMcb function