[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
INT 31 P - DPMI 1.0+ - ALLOCATE SHARED MEMORY
        AX = 0D00h
        ES:(E)DI -> shared memory allocation request structure (see below)
Return: CF clear if successful
            request structure updated
        CF set on error
            AX = error code (8012h,8013h,8014h,8016h,8021h) (see AX=0000h)
Note:   first 16 bytes of memory block will be initialized to zeros on the
          first allocation
SeeAlso: AX=0D01h,AX=0D02h

Format of shared memory allocation request structure:
Offset  Size    Description
 00h    DWORD   requested length of shared memory block in bytes
 04h    DWORD   (return) allocated length of block
 08h    DWORD   (return) shared memory handle
 0Ch    DWORD   (return) linear address of memory block
 10h  6 BYTEs   selector:offset32 of ASCIZ name for memory block
                (name max 128 bytes)
 16h  2 BYTEs   reserved
 18h  4 BYTEs   reserved (00h)

See Also: 310501
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson