UHandle DSRecoverHandle(p);
Given a pointer to a block of memory that was originally declared as a handle, this function returns a handle to the block of memory.
This function is useful when you have the address of a block of memory that you know is a handle, and you need to get a true handle to the block of memory.
Name | Type | Description |
---|---|---|
p | UPtr | Pointer to a relocatable block of memory. |
A handle to the block of memory to which p refers. If an error occurs, this function returns NULL.