Windows 3.1 Device Drivers (ddag31qh.hlp) (Table of Contents; Topic list)
Binary Image File
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
The standard-mode grabber is a binary-image file, not an executable file.
The grabber is built by assembling and linking the sources and converting
the result to a binary file using the exe2bin command.
 
Since Windows cannot relocate segment addresses in binary-image files, the
grabber's code and data for the grabber should be combined in the same
segment (tiny memory model). To support this model, Windows always sets the
DS register equal to the grabber's code segment address before calling any
grabber function. This means the DS and CS registers are equal when a
grabber function is first called.
 
 
                                      ♦