Int 21/AX=8400h

lup.gif ldown.gif Interrups Categories Contents

rbline.gif

European MS-DOS 4.0 - CREATMEM - CREATE A SHARED MEMORY AREA

AX = 8400h
BX = size in bytes (0000h = 65536)
CX = flags

bit 6:
Zero-initialize segment. DS:DX -> ASCIZ name (must begin with "\SHAREMEM\")

Return:
CF clear if successful AX = segment address of shared memory global object CF set on error AX = error code (06h,08h) (see #01680 at AH=59h/BX=0000h)

Desc: Create an area of memory which may be accessed by multiple processes

Notes: Shared memory objects are created as special files (thus the restriction on the name). On successful creation, the reference count is set to 1

See Also: AX=8401h - AX=8402h - INT 15/AX=DE19h

Category: DOS Kernel - Int 21h - E

rbline.gif

lup.gif ldown.gif Interrups Categories Contents