December 21, 2024

Dynamic Windows Function [dw_named_memory_free]

Syntax

int dw_named_memory_free(HSHM handle, void *ptr)

Parameters

HSHM handle: Handle obtained from dw_named_memory_new().
void *ptr: The memory address aquired with dw_named_memory_new().

Returns

int DW_ERROR_NONE (0) on success or DW_ERROR_UNKNOWN (-1) on error.

Description

Frees a shared memory region previously allocated.