IAPI::RemoteAdminUnlockObject

property RemoteAdminUnlockObject.

Releases a lock even though the ownership is not found. The known and valid name are sufficient.

 

HRESULT RemoteAdminUnlockObject(
  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