Introduction to Virtual Device Drivers



Download 274.5 Kb.
Page2/80
Date19.01.2022
Size274.5 Kb.
#58083
1   2   3   4   5   6   7   8   9   ...   80
VXDS
Additional Resources:

Knowledge Base (MSDN Library CD)



Title (Use the title as the search key when querying the MSDN Library CD)

Comments













Table of Contents

Chapter 1. Introduction 7

The Operating Environment 7

Virtual Machines 7

Virtual Machine Manager 8

Virtual Machine Handle, Control Block, and Client Registers 8

Virtual Devices (introduction) 9

Interrupt and Fault Handling 9

Multitasking 10



Chapter 2. Virtual Devices 11

What Is a Virtual Device? 11

Standard Virtual Devices 11

Creating Virtual Devices 11

What You Need to Get Started 12

Writing a Virtual Device 12



Virtual Device Segments 13

Protected-Mode Instructions 14

Include Files 14

Virtual Device Declaration 14

Virtual Device Identifier 15

Initialization Order 15

Device Control Procedure 15

System Control Messages 15

Virtual Device Initialization 18

Real-Mode Initialization 18

Virtual Device Services 18

Defining Services 19

Declaring Services 19

Importing Services 20

Virtual Device API Procedures 20

Virtual Device Interrupt 2Fh Functions 21

Building a Virtual Device 21



Chapter 3. Windows-Based Device Drivers 23

Creating a Device Driver 23

Guidelines for Designing and Writing a Driver 23

Windows Calling Conventions 24



Chapter 4. Real-Mode Initialization 25

Real-Mode Initialization Procedure 25

Real-Mode Initialization Parameters 25

Return Value, Instanced Data, and Excluded Pages 25

Real-Mode Initialization Example 27

Reference 28



Chapter 5. Windows Interrupt 2Fh Interface 33

Services and Notifications 33

Service Functions 33

Notification Functions 34

Critical Section Handling 34

Releasing the Time Slice 35

Virtual-Display Device Services and Notifications 35

Functions 35

Structures 52

Chapter 6. Message Macros 55

Message Declarations 55

Message Processing 55

Message Table File 55

Using Message Macros 56

Declaring Messages 56

Processing Messages 57

Building the Message Table File 57

Reference 58

Message Declaration Macros 58

Message Usage Macros 61



Chapter 7. Registering Statistics with System Monitor 65



Download 274.5 Kb.

Share with your friends:
1   2   3   4   5   6   7   8   9   ...   80




The database is protected by copyright ©ininet.org 2024
send message

    Main page