December 21, 2024

Dynamic Windows Function [dw_named_memory_new]

Syntax

HSHM dw_named_memory_new(void **dest, int size, char *name)

Parameters

void **dest: A pointer to a pointer to receive the memory address.
int size: Size in bytes of the shared memory region to allocate.
char *name: A string pointer to a unique memory name.

Returns

HSHM Handle to shared memory or NULL on error.

Description

Allocates a shared memory region with a name.