PVOID osGetSharedMemoryAddress( HANDLE Handle );
The handle to the shared memory object.
Returns the base address of the specified shared memory buffer upon success, or NULL on failure. Call the osGetLastError function to retrieve extended error information.
This function retrieves the starting memory address of the buffer associated with a specified shared memory object.
For more information regarding the implementation and use of shared memory objects, please refer to the Shared Memory section.
This function is available only when both the OS_USE_SHARED_MEM and OS_GET_SH_MEM_ADDRESS_FUNC configuration constants are set to 1. If this function is not required by the application, set OS_GET_SH_MEM_ADDRESS_FUNC to 0 to minimize the final code size.
| Version: | 1.0 |
|---|---|
| Header file: | OS_SharedMem.h (include OS_API.h) |
| See also: | HANDLE, NULL, OS_GET_SH_MEM_ADDRESS_FUNC, OS_USE_SH_MEM, osCreateSharedMemory, osGetLastError, osOpenSharedMemory, PVOID, shared memory, |