HPlogo MPE/iX Intrinsics Reference Manual > Chapter 7 Command Definitions (HP32208-HPLOACNMPROC)

HPLOADNMPROC

MPE documents

Complete PDF
Table of Contents
Index

Edition 7 E0701 ♥
Edition 7 E0300
Edition 6 E0195

CM callable only.

Returns the plabel of an NM procedure.

Syntax



  U32                     CA        I16V     CA       I16V
  plabel := HPLOADNMPROC (procname, proclen, libname, 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 HPFIRSTLIBRARY, HPGETPROCPLABEL, HPLOADCMPROCEDURE, HPSETCCODE, HPSWITCHTOCM, HPSWITCHTONMNAME, HPSWTONMPLABEL, HPUNLOADCMPROCEDURE, LOADPROC, UNLOADPROC
Manuals Switch Programming Guide




HPLOADCMPROCEDURE


Chapter 8 Command Definitions (HPMERGEEND-LOGSTATUS)