Copyright Digital Equipment Corp. All rights reserved.

$DECLARE_RMW

   Creates a new Resource Manager instance (RMI) in the calling
   process. $DECLARE_RMW always waits for the request to complete
   before returning to the caller. Other than this, it is identical
   to $DECLARE_RM.

   Format

     SYS$DECLARE_RMW  [efn] ,[flags] ,iosb ,[astadr] ,[astprm]

                      ,rm_id ,event_handler ,[part_name]

                      [,[rm_context] ,[acmode] ,[tm_log_id]

                      ,[event_mask]]

   C Prototype

     int sys$declare_rmw  (unsigned int efn, unsigned int

                          flags, struct _iosb *iosb, void

                          (*astadr)(__unknown_params), int

                          astprm, unsigned int *rm_id, void

                          (*event_handler)(__unknown_params),...);