RSM.SetParent (FUN)

By use of this function of the CAA_ResMan.library the handle may be set to a state, where it is no longer released automatically by the Resource Manager. If hCheckParent is assigned to a value different from CAA.gc_hINVALID, the handle will be temporarily deprived from an automatic release.

On a repeated call of this function  with hCheckParent = CAA.gc_hINVALID the Resource Manager will take over the management of this handle again. A value already set can be overwritten only with CAA.gc_hINVALID; else, the error message RSM.PARENT_OCCUPIED will be returned.

Input:

hCheck

CAA.HANDLE

Handle of resource check

hCheckParent

CAA.HANDLE

Handle of parent of resource check

Output:

eError

RSM.Error

Error ID