RSM.Check (FUN)

By use of this function of the CAA_ResMan.library it can be checked, if a handle is still valid. If it has been released meanwhile, the return will equal CAA.gc_hINVALID, else the value of the parameter hResource having been written by RSM.Register during registration will be returned.

Input:

hCheck

CAA.HANDLE

Handle of resource check

peError

POINTER TO RSM.Error

Pointer on error ID

Output:

hResource

CAA.HANDLE

CAA.gc_hINVALID => Handle is not valid