Please enable JavaScript to view this site.

A-Shell Reference

Navigation: Subroutines > MIAMEX

MX_REGISTRY

Scroll Prev Top Next More

xcall MIAMEX, MX_REGISTRY, opcode, <params depending on opcode>

(Windows only) MX_REGISTRY (MIAMEX 138) provides a range of Registry operations. The symbols and values for opcode are shown in the following table. Parameters, which are dependent on the function being called, are listed and discussed in the topics covering the various functions.  See also MX_GETREG (simplified retrieve with ATE support).

Symbol

Value

Function

REGOP_OPEN

1

Open

REGOP_CREATE

2

Create

REGOP_SET

3

Set

REGOP_READ

4

Read

REGOP_ENUMKEYS

5

Enumerate keys

REGOP_ENUMVALS

6

Enumerate values

REGOP_CLOSE

7

Close

REGOP_DELKEY

8

Delete Key

REGOP_DELVALUE

9

Delete Value

REGOP_DELIMS

64

Replace Null Delimiters

Definition file: ashell.def

Comments

MX_REGISTRY does not recognize ATE. If executed in a non-Windows environment (whether ATE or not), it will be essentially a null operation. If executed in the ATSD environment, it will return information from the server registry, not the client. If you want to retrieve registry information from the ATE client, either use MX_GETREG for simple retrieval, or package your MX_REGISTRY operations in an SBX which can be executed on the client side via AG_XFUNCS or MX_AGWRAPPER.

Although direct access to the Registry is not available for applications running A-Shell/Unix, Steve Evans of Caliq has developed a pair of routines which allow information to be saved using a similar model but which work on all platforms. See the routines INIX in SOSLIB:[907,26] and SYSREG in SOSLIB:[907,26] for details.