WriteLock

(RPC Manager Library)

Description: This subroutine attempts to require a Write lock for the specified service. Subroutine call only.
Returns: Nothing
Usage: Script Only.
Function Groups: Network
Related to: ReadLock
Format: \RPCManager\WriteLock(ActivePtr, Service [, OptGUID]);
Parameters:  
ActivePtr   
Required. A reference to a variable that will be set to "1" when the Read lock is obtained.
Service   
Required. The name by which the service is known.
OptGUID   
An optional parameter indicating the GUID of the application in which the service instance is located. The default is the application to which the caller belongs.
Comments: This subroutine is a member of the RPC Manager's Library, and must therefore be prefaced by \RPCManager\, as shown in the "Format" section. If the application you are developing is a script application, the subroutine call must be prefaced by System\RPCManager\, and the System variable must be declared in AppRoot.SRC.

RPC Manager Service