VDD_Get_GrbState

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.

Parameters

EDX

Specifies the system virtual machine handle.

EBX

Specifies the handle of the virtual machine for which to retrieve the state.

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 purposes only.

Return Value

The Client_CX register contains the size of the structure returned by the service (for debugging purposes only). The service returns zero to indicate an error.

Comments

This service returns a video state structure. For more information about the structure definition, see the VDD.INC file.

Uses

Client_CX, Flags