Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

73 lines
1.6 KiB

  1. PAGE 58,132
  2. ;******************************************************************************
  3. TITLE main.asm - WindowsUpdate BIOS Scanning VxD
  4. ;******************************************************************************
  5. ;
  6. ; Title: main.asm - WindowsUpdate BIOS Scanning VxD
  7. ;
  8. ; Author: Yan Leshinsky (YanL)
  9. ; Created 10/04/98
  10. ;
  11. ; MODIFICATION HISTORY
  12. ;
  13. ;
  14. ; DESCRIPTION:
  15. ;
  16. ;******************************************************************************
  17. .386p
  18. ;******************************************************************************
  19. ; I N C L U D E S
  20. ;******************************************************************************
  21. .XLIST
  22. INCLUDE vmm.inc
  23. .LIST
  24. ;******************************************************************************
  25. ; V I R T U A L D E V I C E D E C L A R A T I O N
  26. ;******************************************************************************
  27. Declare_Virtual_Device WUBIOS, 1, 0, WUBIOS_Control, UNDEFINED_DEVICE_ID, UNDEFINED_INIT_ORDER
  28. VXD_LOCKED_CODE_SEG
  29. ;******************************************************************************
  30. ;
  31. ; WUBIOS_Control
  32. ;
  33. ; DESCRIPTION:
  34. ; Control procedure for device driver.
  35. ;
  36. ; ENTRY:
  37. ; EAX = Control call ID
  38. ;
  39. ; EXIT:
  40. ; If carry clear then
  41. ; Successful
  42. ; else
  43. ; Control call failed
  44. ;
  45. ; USES:
  46. ; EAX, EBX, ECX, EDX, ESI, EDI, Flags
  47. ;
  48. ;==============================================================================
  49. BeginProc WUBIOS_Control
  50. Control_Dispatch W32_DEVICEIOCONTROL, WUBIOS_IOCtrl, sCall, <esi>
  51. IFDEF DEBUG
  52. Control_Dispatch DEBUG_QUERY, WUBIOS_Debug, sCall
  53. ENDIF
  54. clc
  55. ret
  56. EndProc WUBIOS_Control
  57. VXD_LOCKED_CODE_ENDS
  58. END