subcalls.hlp (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.
MouInitReal (1.2)
Overview                                            Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_MOU
 
USHORT MouInitReal(pszDriverName)
PSZ pszDriverName;   /* address of string for name of mouse device driver */
 
The MouInitReal function loads and initializes the real-mode mouse device
driver pointed to by the pszDriverName parameter. You must specify the name
of the mouse device driver by using a device command in the config.sys
file.
 
This function is used only by the Task Manager.
 
Parameter      Description
────────────────────────────────────────────────────────────────────────────
 
pszDriverName  Points to the null-terminated string that specifies the name
               of the mouse device driver. The name must be a valid
               filename. You can initialize the default mouse device driver
               by setting this parameter to zero.
 
Return Value
 
The return value is zero if the function is successful. Otherwise, it is an
error value, which may be the following:
 
     ERROR_MOUSE_NO_DEVICE
 
Comments
 
The Mou functions are not available in real-mode programs. Instead, all
real-mode mouse input and output must be carried out using the real-mode
(int 33h) interface.
 
See Also
 
MouOpen