Home Home

ReleaseObject

ReleaseObject is call to release an object that has been locked by TryLockObject

unsigned int ReleaseObject(
   void* objectID
);

Parameters

objectID This object reference value.

Return Values

ReleaseObject returns 1, then the object is not registered. If it returns 0 then the object has been unlocked.

Remarks

Example Use


while(server.TryLockObject(myObject) == 1) Sleep(0);
server.ReleaseObject(myObject);

Also See

RemoteMethod, TryLockObject

Copyright © 2007, Ekky Software Pty Ltd.