LockResource function
Lock a resource.
Declaration
function LockResource(ResData: TFPResourceHGLOBAL): PointerDescription
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.
Errors
if the function fails,
Nil is returned.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
