[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
bdosptr() MS-DOS System Call
#include <dos.h>
int bdosptr(dosfun,arg,dosal);
int dosfun; function number
void *arg; DX or DS:DX values
unsigned dosal; AL register value
bdosptr() provides direct access to many of the MS-DOS system calls
which require a pointer argument. It invokes the system call
specified by 'dosfun'. 'arg' specifies the value of register DX in
small data models, and the DS:DX values used in large data models.
Returns: The value of AX, if successful. -1 is returned on
failure and 'errno' and '_doserrno' are set.
Notes: In the large data models (compact-, large- and huge-), it
is important to use bdosptr() instead of bdos() for
system calls that require a pointer as the call argument.
See Also:
bdos()
harderr()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson