HP 3000 Manuals

HPLOADNMPROC [ MPE/iX Intrinsics Reference Manual ] MPE/iX 5.0 Documentation


MPE/iX Intrinsics Reference Manual

HPLOADNMPROC 

CM callable only.

Returns the plabel of an NM procedure.

Syntax 
_____________________________________________________
|                                                   |
|      U32                  CA      I16V     CA     |
|     plabel:=HPLOADNMPROC(procname,proclen,libname,|
|                           I16V                    |
|                          liblen)                  |
_____________________________________________________

            

Functional Return 

plabel                32-bit unsigned integer (assigned functional 
                      return) 

                      Plabel of the target NM procedure.

Parameters 

procname              character array by reference (required) 

                      Passes the target procedure name.  The target
                      procedure must be contained in an executable
                      library (XL). If the value of procname is invalid,
                      blank, or does not contain the NM procedure,
                      NL.PUB.SYS is searched.

proclen               16-bit signed integer by value (required) 

                      Passes the byte length of the procedure name.

libname               character array by reference (required) 

                      Passes the name of the NM library to be searched
                      for the target.  If the value of libname is
                      invalid, blank, or does not contain the NM
                      procedure, NL.PUB.SYS is searched.

liblen                16-bit signed integer by value (required) 

                      Passes the byte length of the library name.

Operational Notes 

Do not use HPLOADNMPROC to invoke a native mode (NM) system-supplied
intrinsic.  The result of the call may be unpredictable.

Used to obtain the NM plabel of the target procedure.  Then the plabel is
used by the HPSWTONMPLABEL intrinsic for its proc parameter.

The strings you supply as values of the procname and libname parameters
must exactly match the names of the target NM routine and its NM library,
respectively.

Related Information 

Intrinsics            HPSWITCHTOCMPROCEDURE

Commands              None

Manuals               Switch Programming Guide (32650-90014)



MPE/iX 5.0 Documentation