XMemFreeDefault

Default memory free function.

Syntax

void XMemFreeDefault(
PVOID lpAddress, ULONGLONG dwAttributes)  

Parameters

lpAddress
Type: PVOIDĀ 

[in] Address of the memory to be freed.

dwAttributes
Type: ULONGLONGĀ 

[in] Attributes of the allocation. Refer to XALLOC_ATTRIBUTES.

Return value

None.

Remarks

Two default functions are exported by kernelx: XMemAllocDefault and XMemFreeDefault. These represent the initial values of the allocation hooks. If titles choose not to provide their own allocation hooks, these system default allocators will be used instead. If titles desire to provide allocation hooks for the sake of tracking, but do not wish to implement their own allocator, they can call into the default allocator directly.

See also

XMEMALLOC_ROUTINE

Requirements

Header: Declared in xmem.h.