IAPI::CreateRemoteLockObject

property CreateRemoteLockObject.

Creates a remote and shared lock object over COM/DCOM

/!\ Requires Remote Loader (Rloader.exe) installed and configured

 

HRESULT CreateRemoteLockObject(
  BSTR remoteServer,
  BSTR objectName,
  long *phLockObject
);

Parameters

remoteServer

[in] .   Host or IP address which locates Remote Loader.

“local” means the server is in the same machine as the client

objectName

[in] .   Name of the shared lock object which is similar to filename syntax

phLockObject

[out, retval] . Handle of the shared lock or 0 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