IAPI::RemoteLockObject

property RemoteLockObject.

Creates a lock with a key name.

 

HRESULT RemoteLockObject(
  long hLockObject,
  BSTR key,
  BOOL *pVal
);

Parameters

hLockObject

[in] .   Handle of shared lock object

key

[in] .   Name of the lock

pVal

[out, retval] The returned value is TRUE if succeeded or FALSE if failed

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI