Windows 3.1 Device Drivers (ddag31qh.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.
InquireGrab
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
The InquireGrab function either returns the size of the grabber buffer or it
calls an extended function.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
AX         Specifies the action to take. It can contain one of the following
           values.
 
           Value     Meaning
           ─────────────────────────────────────────────────────────────────
           1         Returns buffer size for text capture.
 
           2         Returns buffer size for graphics capture.
 
           3-0FFFFh  Carries out the corresponding extended function.
 
DS         Specifies the segment address of the grabber (CS and DS registers
           are equal).
 
Return Value
 
The return value in the AX:DX register pair is either the buffer size (in
bytes), or the return value depends on the specified extended function
call.
 
Comments
 
The InquireGrab (or InquireSave) function is responsible for carrying out
any necessary initializations for the grabber the first time the function is
called. Windows calls either InquireGrab or InquireSave before any other
call to a grabber function (unless the InitScreen function is present).
 
See Also
 
InitScreen, InquireSave