A Policy DLL's PolFreeHeader callback function is called to enable the Policy DLL to return the storage that it previously allocated for Policy DLL Header Data.
POL_FREE_HEADER PolFreeHeader;
VOID
PolFreeHeader(
_In_ PVOID PolHeaderData,
_In_ DWORD PolHeaderDataSize
)
PolHeaderData [in]
A pointer to a Header Data area to be returned that was previously allocated by the Policy DLL.
PolHeaderDataSize [in]
The size, in bytes, of the Header Data area.
(none)
A Policy DLL's PolFreeHeader callback function is called by FESF to allow the Policy DLL to deallocate space that it previously allocated for storage of Policy DLL Header Data. This Header Data was provided to FESF by the Policy DLL on return from the PolGetKeyNewFile callback function.
Policy DLLs must implement this callback function.
The FESF Sample Solution contains an example implementation of this callback function. This example is part of the provided UM_Sample Visual Studio Solution, the SampPolicy project, and is located in the file SampPolicy.cpp.
Software version |
FESF V1 (or later) |
Library |
FESFPolicy.lib |
eader |
PolDllApi.h |