Virtual Devices (3.1) (vdag31qh.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.
VDD_Get_GrbState
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include vdd.inc
 
VxDcall VDD_Get_GrbState
 
The VDD_Get_GrbState service returns the state of the video adapter for the
specified virtual machine at the point when the VDD_GrabRtn was called.
 
This service is called by the 386 enhanced mode grabber.
 
Parameter   Description
────────────────────────────────────────────────────────────────────────────
 
EDX         Specifies the system virtual machine handle.
 
EBX         Specifies the handle of the virtual machine to retrieve the
            state for.
 
EDI         Specifies the VDD control block pointer.
 
EBP         Points to the Client_Reg_Struc structure for the virtual
            machine.
 
Client_EBX  Specifies the virtual machine handle.
 
Client_ES   Specifies the selector identifying the segment containing the
            buffer to receive the state.
 
Client_EDI  Specifies the address of the buffer to receive the state.
 
Client_CX   Specifies the size of the buffer to hold the state. This is for
            debugging only.
 
Return Value
 
The Client_CX register contains the size of the structure returned by the
service (for debugging only). The service returns zero to indicate an
error.
 
Comments
 
This service returns a video state structure. See the VDD.INC file for the
structure definition.
 
Uses
 
Flags, Client_CX
 
                                      ♦