The mi_get_memptr_duration() function
The mi_get_memptr_duration() function returns the memory duration of a specified pointer.
Syntax
MI_MEMORY_DURATION
mi_get_memptr_duration(void *memptr)
- memptr
- The specified pointer.
Valid in client LIBMI application? | Valid in user-defined routine? |
---|---|
No | Yes |
Usage
The mi_get_memptr_duration() function lets you determine the memory duration of memory allocated with one of the mi_* functions.
Return value
- md
- The memory duration of the specified pointer.