VDD_Get_State

include vdd.inc

VxDcall VDD_Get_State


The VDD_Get_State service returns the current state of the virtual machine. This service should be called after a call to the VDD_Get_Mem service, but before calling the VDD_Free_Mem service.

This service is called by the grabber.

Parameters

EDX

Specifies the system virtual machine handle.

EBX

Specifies the handle of the virtual machine for which to retrieve the change list.

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 receive the state. This is for debugging purposes only.

Return Value

The Client_CX register contains the size of 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