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.
GetInfo
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
The GetInfo function returns information about the grabber in a GRABINFO
structure.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
 
ES:DI      Points to the GRABINFO structure to receive the grabber
           information.
 
Return Value
 
The return value is 0 in the AX register if block operations are not
supported in graphics mode. The return value is 1 if block operations are
not supported in text mode.
 
Comments
 
GetInfo fills a GRABINFO structure pointed to by the ES:DI register pair.
 
Although Windows knows nothing about the reserved members, the grabber can
fill some of the members with the extra data in INFOCONTEXT since it is
convenient for debugging purposes. Because these members are still reserved,
they may change at any time.
 
The block functions also check the current mode and return the value
ERR_UNSUPPORTED to indicate nonsupport for the request.
 
See Also
 
GRABINFO