Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
POSTDDB.ASM
Package: vxdsrc.zip [view]
Upload User: lx1888888
Upload Date: 2007-01-04
Package Size: 136k
Code Size: 2k
Category:
Driver Develop
Development Platform:
Visual C++
- .386p
- ;******************************************************************************
- ; I N C L U D E S
- ;******************************************************************************
- include vmm.inc
- include debug.inc
- ;============================================================================
- ; V I R T U A L D E V I C E D E C L A R A T I O N
- ;============================================================================
- POSTVXD_ID EQU 0BADDh
- DECLARE_VIRTUAL_DEVICE POSTVXD, 1, 0, ControlProc, POSTVXD_ID,
- UNDEFINED_INIT_ORDER, 0, PM_API
- VxD_LOCKED_CODE_SEG
- ;===========================================================================
- ;
- ; PROCEDURE: ControlProc
- ;
- ; DESCRIPTION:
- ; Device control procedure for the SKELETON VxD
- ;
- ; ENTRY:
- ; EAX = Control call ID
- ;
- ; EXIT:
- ; If carry clear then
- ; Successful
- ; else
- ; Control call failed
- ;
- ; USES:
- ; EAX, EBX, ECX, EDX, ESI, EDI, Flags
- ;
- ;============================================================================
- BeginProc ControlProc
- Control_Dispatch SYS_DYNAMIC_DEVICE_INIT, _OnSysDynamicDeviceInit, cCall, <ebx>
- Control_Dispatch SYS_DYNAMIC_DEVICE_EXIT, _OnSysDynamicDeviceExit, cCall, <ebx>
- Control_Dispatch INIT_COMPLETE, _OnInitComplete, cCall, <ebx>
- Control_Dispatch VM_INIT, _OnVmInit, cCall, <ebx>
- Control_Dispatch VM_TERMINATE, _OnVmTerminate, cCall, <ebx>
- clc
- ret
- EndProc ControlProc
- BeginProc PM_API
- cCall _PM_Api_Handler, <ebx, ebp>
- ret
- EndProc PM_API
- VxD_LOCKED_CODE_ENDS
- VxD_CODE_SEG
- BeginProc _PriorityEventThunk
- sCall PriorityEventHandler, <ebx,edx,ebp>
- ret
- EndProc _PriorityEventThunk
- VxD_CODE_ENDS
- END