PFNKSITEMFREECALLBACK - NtDoc

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

PFNKSITEMFREECALLBACK Pfnksitemfreecallback;

VOID Pfnksitemfreecallback(
  [in] PKSOBJECT_CREATE_ITEM CreateItem
)
{...}

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-ks-pfnksitemfreecallback)

PFNKSITEMFREECALLBACK callback function

Description

A streaming minidriver's KStrItemFreeCallback routine is called to free a previously allocated create item. KStrItemFreeCallback allows the minidriver to perform any cleanup, including flushing security descriptor changes, if necessary.

Parameters

CreateItem [in]

Specifies a create item that was previously allocated by KsAllocateObjectCreateItem.

Remarks

The Context parameter of the KSOBJECT_CREATE_ITEM structure must contain sufficient information to perform cleanup for the create item.

The Flags member of the KSOBJECT_CREATE_ITEM structure indicates if it is necessary to flush security descriptor changes.

See also

KSOBJECT_CREATE_ITEM

KsAllocateObjectCreateItem