msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Macros (1.2)
Function Groups                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
CHAR1FROMMP       Extracts a character from a message parameter
CHAR2FROMMP       Extracts a character from a message parameter
CHAR3FROMMP       Extracts a character from a message parameter
CHAR4FROMMP       Extracts a character from a message parameter
CHARMSG           Accesses the WM_CHAR message parameters
COMMANDMSG        Extracts information from COMMAND and HELP messages
DDES_PABDATA      Retrieves a pointer to a DDE data area
DDES_PSZITEMNAME  Retrieves a pointer to the item name
DEFINEMUXSEMLIST  Creates a semaphore list for DosMuxSemWait
ERRORIDERROR      Extracts an error number from ERRORID
ERRORIDSEV        Extracts a severity value from ERRORID
FIELDOFFSET       Computes the address offset of a field
FIXEDFRAC         Extracts the fractional part of a FIXED value
FIXEDINT          Extracts the integer part of a FIXED value
HIBYTE            Retrieves the high-order byte
HIUCHAR           Retrieves the high-order unsigned character (byte)
HIUSHORT          Retrieves the high-order word
HWNDFROMMP        Creates an HWND value from a message parameter
LOBYTE            Retrieves the low-order byte
LONGFROMMP        Retrieves a LONG value from a message parameter
LONGFROMMR        Retrieves a LONG value from a message result
LOUCHAR           Retrieves the low-order byte
LOUSHORT          Retrieves the low-order word
MAKEERRORID       Creates an error identifier
MAKEFIXED         Makes a FIXED value from an integer and fraction
MAKEINTATOM       Creates an integer atom from an atom
MAKELONG          Creates a long integer
MAKEP             Creates a far pointer
MAKEPGINFOSEG     Creates a far pointer to a global info segment
MAKEPLINFOSEG     Creates a far pointer to a local info segment
MAKESHORT         Creates a short integer
MAKETYPE          Casts a variable to a type
MAKEULONG         Creates an unsigned long integer
MAKEUSHORT        Creates an unsigned short integer
MOUSEMSG          Accesses the WM_MOUSEMOVE parameters
MPFROM2SHORT      Creates a message parameter from two SHORT values
MPFROMCHAR        Creates a message parameter from a character
MPFROMHWND        Creates a message parameter from an HWND value
MPFROMLONG        Creates a message parameter from a LONG value
MPFROMP           Creates a message parameter from a pointer
MPFROMSH2CH       Creates message parameter from a SHORT and two chars
MPFROMSHORT       Creates a message parameter from a SHORT value
MRFROM2SHORT      Creates a message result from two SHORT values
MRFROMLONG        Creates a message result out of a LONG value
MRFROMP           Creates a message result from a pointer
MRFROMSHORT       Creates a message result from a SHORT value
OFFSETOF          Retrieves the address offset of a pointer
PDDEITOSEL        Converts a far DDEINIT pointer to a selector
PDDESTOSEL        Converts a far DDESTRUCT pointer to a selector
PVOIDFROMMP       Creates a pointer from a message parameter
PVOIDFROMMR       Creates a pointer from a message result
SELECTOROF        Retrieves the selector of a pointer
SELTOPDDES        Creates a pointer to a DDESTRUCT from a selector
SETMEMBACKPTR     Creates a back pointer for use with a heap
SHORT1FROMMP      Creates a SHORT from low word of a message parameter
SHORT1FROMMR      Creates a SHORT from low word of a message result
SHORT2FROMMP      Creates SHORT from high word of message parameter
SHORT2FROMMR      Creates a SHORT from the high word of a message result