get_global_memory_flags


unsigned get_global_memory_flags(handle memory)

This function returns the flags for the global memory block.

Parameters

handle memory

The handle of the global memory object being queried.

Return

unsigned

low-order part The lock count for the memory block.
high-order part The flags for the block (see enumeration global_memory_flag).

Notes

The lock count of fixed memory is always zero.