Please enable JavaScript to view this site.

A-Shell Consolidated Reference

Navigation: Subroutines > MIAMEX

MIAMEX Functions by Name

Scroll Prev Top Next More

Symbol

Value

Function

MX_ABOUT

93

Get license info (used by ABOUT.LIT)

MX_AGINTERPROC

179

Send AG commands between instances of A-Shell/Windows

MX_AGWRAPPER

177

Wraps "raw" ATE commands

MX_AMOUSEXLT

112

Set AutoMouse translations (Windows only)

MX_AS3264

200

Get A-Shell architecture (32- or 64-bit)

MX_ASHFILE

130

Retrieve startup command and/or name of A-Shell executable

MX_ASHLOG

124

Output STRING message to ashlog.log

MX_ATE

98

Start ATE

MX_ATEFILEXFR

183

Performs ATE/ATSD file transfer

MX_AUTOPARENT

141

Set parent controls

MX_BEVEL

90

Get / set bevel options (Windows only)

MX_BROWSEFOLDER

170

Selects a folder or other non-file object (such as a computer)

MX_CALLSTACK

189

Returns information about the call stack

MX_CHAINTO

121

Get / set chain-to on privilege violation

MX_CHKPCNET

176

Checks network state of PC

MX_CHKPPN

10

Check for ppn

MX_CHOOSECOLOR

164

Display color selection dialog

MX_CHOOSEFONT

165

Display font selection dialog

MX_CLFLAGS

103

Get / set ashell command line switches

MX_CLIPBOARD

105

Get / set clipboard (Windows only)

MX_CLRINBUF

184

Clears input buffer and type ahead

MX_CLRSIG

55

Clear signal received flags (Unix only)

MX_CMD_STATUS

1

Get / set command file status

MX_CMDKBD

142

Retrieve CMD file variables

MX_COMPIL

15

COMPIL

MX_COPYFILE

27

Copy file

MX_CSVDELIM

181

Get / set the CSV delimiter character

MX_DEBUG

144

Get / set DEBUG level

MX_DEFTABXYZ

154

Set "3D" Tab attributes

MX_DIRCLEAN

204

Counts or deletes files based on various filter attributes

MX_DIRSEP

22

Get directory separator

MX_DRAGDROP

199

Accept drag drop

MX_DYNFUNC

193

Used for DYNFUNC-related utilities

MX_DYNSTRUCT

192

Implements A-Shell's dyanamic structures

MX_ERRNOMSG

86

Get operating system error message by errno

MX_EVENTWAIT

135

Deprecated. Use AUI_EVENTWAIT.

MX_EXIT

2

Exit A-Shell

MX_EXITSBX

82

Exit to dot prompt (even from with an SBX )

MX_EXPFIL

133

Expand / reduce a file in place

MX_FILECHINFO

161

Returns info about open file based on file channel

MX_FILEHOOK

178

Establish file "hooks" on specific files and file events

MX_FILEPOS

118

Get / set file pointer within stream

MX_FILESOCK

187

Binds a TCP socket to a sequential file channel

MX_FILESTATS

131

Retrieve stats for specified path

MX_FILETIMES

196

Get / set a file's modification, creation or access time

MX_FILEVAR

195

Get / set the value of the file record number variable

MX_FINDEND

23

End directory processing

MX_FINDFIRST

20

Find first matching file

MX_FINDNEXT

21

Find next matching file

MX_FINDWINDOW

157

Find window by title and/or class and/or handle

MX_FLINES

147

Count lines, maximum line length in file

MX_FLSET

89

Clone file channel (within SBX) (similar to M68 FLSET)

MX_FLUSHBUF

88

Flush stream file buffer

MX_FSPEC

3

Translate DevPPN filespec to native

MX_FTFORMAT

132

Reformat filetime from MX_FILESTATS

MX_GDICALC

148

Calculate String length or height

MX_GETCISAM

34

Get CISAM/DISAM version

MX_GETCMDINP

52

Return CMDINP flags

MX_GETCTRLC

4

Get Ctrl+C status

MX_GETDEV

19

Get next device

MX_GETDPI

197

Get monitor resolution

MX_GETECHO

5

Get echo status

MX_GETENV

31

Return environment variable value

MX_GETERSATZ

11

Return ersatz

MX_GETFKW

83

Get FKEYWAIT value (Unix only)

MX_GETGDO

78

Get global DO parameters

MX_GETHASH

36

Get hex status

MX_GETHEX

7

Get hex output status

MX_GETIP

128

Get IP address

MX_GETLOKSER

50

Return LOKSER flags

MX_GETODBC

40

Is ODBC available?

MX_GETOFD

95

Windows Open File dialog (Windows only)

MX_GETOPTIONS

59

Return OPTIONS flags

MX_GETPFK

64

Return PFK name

MX_GETPID

104

Get process ID (pid)

MX_GETPROMPT

24

Get prompt

MX_GETQUEUE

30

Return queue block

MX_GETRC

94

Get current cursor position

MX_GETREG

99

Retrieve registry value (Windows only)

MX_GETSHELLPATH

171

Retrieves the path for a specified Windows directory ID

MX_GETSIG

54

Return signal received flags (Unix only)

MX_GETSW

101

Get swap wait value (in ms) (Unix only)

MX_GETTIME

75

Get current system time

MX_GETTRACE

61

Return TRACE flags

MX_GETUMSK

69

Return umask (Unix only)

MX_GETUPTIME

198

Get system uptime

MX_GETVER

12

Return A-Shell version

MX_GETWINFILEVERS

194

Retrieves version of a Windows DLL or executable

MX_GTOCT

160

Convert hex or octal to decimal

MX_GUIFLG

129

Deprecated. Use AUI_ENVIRONMENT.

MX_HASHFILE

25

Get hash

MX_HOTKEY

92

Enable / disable PolyShell hot keys

MX_HTMLHELP

137

Deprecated. Use AUI_HTMLHELP.

MX_IATIMEOUT

180

Get / set the inactivity timeout period

MX_INFDEF

143

Get / set INFLD default TYPE codes

MX_INICLR

116

Process an INI.CLR file

MX_INSTNUM

156

Return instance number

MX_IXCALL

115

Indirect XCALL

MX_KILL

57

Kill job

MX_LANGUAGE

190

Retrieves or sets the current language

MX_LASTLNO

146

Retrieve last line number of program

MX_LASTPRTFIL

186

Returns specs of the last file written by the PDFX printer driver

MX_LITMSG

72

Display LITMSG.xxx message

MX_LOCALE

205

Queries the native OS locale information.

MX_MALLOCLIMIT

185

Get / set the MALLOCLIMIT

MX_MAPI

117

MAPI Send Mail (Windows only)

MX_MARSHAL

114

Marshall parameters for remote subroutine

MX_MATCHWILD

33

Match cmdlin

MX_MCRS

125

Retrieve information about last mouse click

MX_MEMORY

113

Change user partition size

MX_MKDIR

97

Create directory (Windows only)

MX_MKPATH

38

Create directory

MX_NOBUF

87

Disable stream file buffering

MX_NXTCMD

18

Get next command file line

MX_OCVT

9

Octal conversion (OCVT)

MX_ODBCEND

44

ODBC end

MX_ODBCFIRST

42

Return first ODBC table

MX_ODBCNEXT

43

Return next ODBC table

MX_OSVER

106

Get operating system version

MX_PLAYSOUND

100

Play a sound file (Windows only)

MX_PREBAS

16

CPRE

MX_PRFSPEC

26

Print filespec

MX_PRINTERR

28

Output error message

MX_PWCRYPT

172

Provides simple password encryption

MX_QLOCK

67

Lock queue

MX_QRBLD

66

Force queue rebuild

MX_QUNLOK

68

Unlock queue

MX_READJCB

73

Return jobtbl.sys record

MX_REGISTRY

138

Registry operations

MX_RELEASEKBD

153

Set / release keyboard hold

MX_RENAMERR

29

Output rename error message

MX_RMPATH

39

Delete directory

MX_ROUND

127

Get / set rounding factor

MX_RUNPROF

203

Generates a run profile log

MX_SBRFLG

123

Get / set options that are normally set with SBR= in miami.ini

MX_SCRNPIC

65

Take screen snapshot

MX_SETCMDINP

53

Set CMDINP flags

MX_SETCRM

35

Set crm

MX_SETENV

56

Change TERM environment variable (Unix only)

MX_SETERR

182

Triggers an ASB error

MX_SETEXT

32

Set default extension

MX_SETFKW

84

Set FKEYWAIT value (Unix only)

MX_SETGDO

79

Set global DO parameters

MX_SETHASH

37

Set / reset AMOS hash flag

MX_SETHEX

8

Set / reset hex mode

MX_SETLOKSER

51

Set LOKSER flags

MX_SETMEMFLAGS

163

Change memory module flags

MX_SETOPTIONS

60

Set OPTIONS flags

MX_SETPFK

63

Set function key translation or PFK

MX_SETPROMPT

6

Set command prompt

MX_SETSW

102

Set swap wait value (in ms) (Unix only)

MX_SETTRACE

62

Set TRACE flags

MX_SETUMSK

70

Set umask (Unix only)

MX_SETUSRNAM

169

Set / override user name

MX_SHELLEX

96

Shell Execute (open/print registered file type)

MX_SHORTCUT

173

Create shortcut

MX_SHOWLIC

58

Display license

MX_SHOWWINDOW

77

Deprecated. Use AUI_WINDOW.

MX_SINK

126

Sink / unsink specified box

MX_SRCHPATH

191

Searchs for a file in the system path

MX_STRCMP

174

Compare two strings in various ways

MX_SYNC

134

Invokes operating system sync command

MX_SYNC_CWD

17

Synchronize A-Shell PPN with system path

MX_SYSBCLR

91

Define BG color # to track system COLOR_3DFACE

MX_TELSER

76

Launch Telnet server mode (Windows only)

MX_TITLE

85

Get / set Window title

MX_TRANSCOPY

202

Copy and translate a file

MX_UNLOADLIB

145

<reserved>

MX_USRDEL

109

Delete module from USRMEM

MX_USRIO

111

Read / write USRMEM data directly

MX_USRLOD

108

Load module (or variable) into USRMEM

MX_USRMAP

107

Get USRMEM module information

MX_USRSAV

110

Save module from USRMEM to disk

MX_VERINODE

167

Verify file information  

MX_VUE

14

VUE

MX_WEBCACHE

188

Provides operations related to A-Shell's web cache feature

MX_WINCTL

119

Deprecated. Use AUI_CONTROL.

MX_WINMNU

71

Deprecated. Use AUI_MENU.

MX_WINPTR

120

Prompt for Windows printer (Windows only)

MX_WINSETTINGS

149

Get / set A-Shell GUI Settings

MX_WRITEJCB

74

Write jobtbl.sys record

MX_WSET_STATUS

13

Get / set WSET flags

MX_XCBDATAX

81

Get / set SBX parameters

MX_XCBINFOX

80

Reserved

MX_ZAPQUEUE

41

Zap queue