Lock a resource.
Source position: resh.inc line 74
function LockResource( |
ResData: TFPResourceHGLOBAL |
):Pointer; |
LockResource locks a resource previously loaded by LoadResource into memory. This means that any attempt to modify the resource will fail while it is locked. The function returns a pointer to the resource location in memory.
The resource can be freed again using the UnlockResource function.
if the function fails, Nil is returned.
|
Locate a resource and return a handle to it. |
|
|
Free a loaded resource. |
|
|
Return the size of a particular resource. |
|
|
Load a resource for use. |
|
|
Unlock a previously locked resource. |
|
|
Free a loaded resource. |