WriteLock 

                        (RPC Manager Library)

Description:              This subroutine attempts to require a Write lock for the specified service. Subroutine call only.

Returns:                    Nothing

Usage:                       Script

Format:                      \RPCManager\WriteLock(ActivePtr, Service [, OptGUID]);

Parameters:             ActivePtr     { Variable }  { required }  { no default: }

                                                A reference to a variable that will be set to "1" when the Read lock is obtained.

                                    Service     { numeric }  { required }  { no default: }

                                                The name by which the service is known.

                                    OptGUID     { text }  { optional }  { no default: }

                                                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 AppMod.src.

See Also:

ReadLock