Leaked source code of windows server 2003
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.

104 lines
5.7 KiB

  1. /*++
  2. Copyright (C) Microsoft Corporation, 1999 - 2000
  3. Module Name:
  4. userdbg.h
  5. Abstract:
  6. Project dependent header for debug.
  7. Author:
  8. Keisuke Tsuchida (KeisukeT)
  9. Environment:
  10. user mode only
  11. Notes:
  12. Revision History:
  13. --*/
  14. #ifndef __USERDBG__
  15. #define __USERDBG__
  16. #include <setupapi.h>
  17. typedef struct _DIF_DEBUG {
  18. DWORD DifValue;
  19. LPTSTR DifString;
  20. } DIF_DEBUG, *PDIF_DEBUG;
  21. const DIF_DEBUG DifDebug[] =
  22. {
  23. { 0, TEXT("") }, // 0x00000000
  24. { DIF_SELECTDEVICE, TEXT("DIF_SELECTDEVICE" ) }, // 0x00000001
  25. { DIF_INSTALLDEVICE, TEXT("DIF_INSTALLDEVICE" ) }, // 0x00000002
  26. { DIF_ASSIGNRESOURCES, TEXT("DIF_ASSIGNRESOURCES" ) }, // 0x00000003
  27. { DIF_PROPERTIES, TEXT("DIF_PROPERTIES" ) }, // 0x00000004
  28. { DIF_REMOVE, TEXT("DIF_REMOVE" ) }, // 0x00000005
  29. { DIF_FIRSTTIMESETUP, TEXT("DIF_FIRSTTIMESETUP" ) }, // 0x00000006
  30. { DIF_FOUNDDEVICE, TEXT("DIF_FOUNDDEVICE" ) }, // 0x00000007
  31. { DIF_SELECTCLASSDRIVERS, TEXT("DIF_SELECTCLASSDRIVERS" ) }, // 0x00000008
  32. { DIF_VALIDATECLASSDRIVERS, TEXT("DIF_VALIDATECLASSDRIVERS" ) }, // 0x00000009
  33. { DIF_INSTALLCLASSDRIVERS, TEXT("DIF_INSTALLCLASSDRIVERS" ) }, // 0x0000000A
  34. { DIF_CALCDISKSPACE, TEXT("DIF_CALCDISKSPACE" ) }, // 0x0000000B
  35. { DIF_DESTROYPRIVATEDATA, TEXT("DIF_DESTROYPRIVATEDATA" ) }, // 0x0000000C
  36. { DIF_VALIDATEDRIVER, TEXT("DIF_VALIDATEDRIVER" ) }, // 0x0000000D
  37. { DIF_MOVEDEVICE, TEXT("DIF_MOVEDEVICE" ) }, // 0x0000000E
  38. { DIF_DETECT, TEXT("DIF_DETECT" ) }, // 0x0000000F
  39. { DIF_INSTALLWIZARD, TEXT("DIF_INSTALLWIZARD" ) }, // 0x00000010
  40. { DIF_DESTROYWIZARDDATA, TEXT("DIF_DESTROYWIZARDDATA" ) }, // 0x00000011
  41. { DIF_PROPERTYCHANGE, TEXT("DIF_PROPERTYCHANGE" ) }, // 0x00000012
  42. { DIF_ENABLECLASS, TEXT("DIF_ENABLECLASS" ) }, // 0x00000013
  43. { DIF_DETECTVERIFY, TEXT("DIF_DETECTVERIFY" ) }, // 0x00000014
  44. { DIF_INSTALLDEVICEFILES, TEXT("DIF_INSTALLDEVICEFILES" ) }, // 0x00000015
  45. { DIF_UNREMOVE, TEXT("DIF_UNREMOVE" ) }, // 0x00000016
  46. { DIF_SELECTBESTCOMPATDRV, TEXT("DIF_SELECTBESTCOMPATDRV" ) }, // 0x00000017
  47. { DIF_ALLOW_INSTALL, TEXT("DIF_ALLOW_INSTAL" ) }, // 0x00000018
  48. { DIF_REGISTERDEVICE, TEXT("DIF_REGISTERDEVICE" ) }, // 0x00000019
  49. { DIF_NEWDEVICEWIZARD_PRESELECT, TEXT("DIF_NEWDEVICEWIZARD_PRESELECT" ) }, // 0x0000001A
  50. { DIF_NEWDEVICEWIZARD_SELECT, TEXT("DIF_NEWDEVICEWIZARD_SELECT" ) }, // 0x0000001B
  51. { DIF_NEWDEVICEWIZARD_PREANALYZE, TEXT("DIF_NEWDEVICEWIZARD_PREANALYZE" ) }, // 0x0000001C
  52. { DIF_NEWDEVICEWIZARD_POSTANALYZE, TEXT("DIF_NEWDEVICEWIZARD_POSTANALYZE" ) }, // 0x0000001D
  53. { DIF_NEWDEVICEWIZARD_FINISHINSTALL, TEXT("DIF_NEWDEVICEWIZARD_FINISHINSTALL") }, // 0x0000001E
  54. { DIF_UNUSED1, TEXT("DIF_UNUSED1" ) }, // 0x0000001F
  55. { DIF_INSTALLINTERFACES, TEXT("DIF_INSTALLINTERFACES" ) }, // 0x00000020
  56. { DIF_DETECTCANCEL, TEXT("DIF_DETECTCANCE" ) }, // 0x00000021
  57. { DIF_REGISTER_COINSTALLERS, TEXT("DIF_REGISTER_COINSTALLERS" ) }, // 0x00000022
  58. { DIF_ADDPROPERTYPAGE_ADVANCED, TEXT("DIF_ADDPROPERTYPAGE_ADVANCED" ) }, // 0x00000023
  59. { DIF_ADDPROPERTYPAGE_BASIC, TEXT("DIF_ADDPROPERTYPAGE_BASIC" ) }, // 0x00000024
  60. { DIF_RESERVED1, TEXT("DIF_RESERVED1" ) }, // 0x00000025
  61. { DIF_TROUBLESHOOTER, TEXT("DIF_TROUBLESHOOTER" ) }, // 0x00000026
  62. { DIF_POWERMESSAGEWAKE, TEXT("DIF_POWERMESSAGEWAKE" ) }, // 0x00000027
  63. { 0, TEXT("") } // 0x00000028
  64. };
  65. const TCHAR *szInstallOpNames[] = {
  66. TEXT("SPFILENOTIFY_UNKNOWN "), // 0x00000000
  67. TEXT("SPFILENOTIFY_STARTQUEUE "), // 0x00000001
  68. TEXT("SPFILENOTIFY_ENDQUEUE "), // 0x00000002
  69. TEXT("SPFILENOTIFY_STARTSUBQUEUE "), // 0x00000003
  70. TEXT("SPFILENOTIFY_ENDSUBQUEUE "), // 0x00000004
  71. TEXT("SPFILENOTIFY_STARTDELETE "), // 0x00000005
  72. TEXT("SPFILENOTIFY_ENDDELETE "), // 0x00000006
  73. TEXT("SPFILENOTIFY_DELETEERROR "), // 0x00000007
  74. TEXT("SPFILENOTIFY_STARTRENAME "), // 0x00000008
  75. TEXT("SPFILENOTIFY_ENDRENAME "), // 0x00000009
  76. TEXT("SPFILENOTIFY_RENAMEERROR "), // 0x0000000a
  77. TEXT("SPFILENOTIFY_STARTCOPY "), // 0x0000000b
  78. TEXT("SPFILENOTIFY_ENDCOPY "), // 0x0000000c
  79. TEXT("SPFILENOTIFY_COPYERROR "), // 0x0000000d
  80. TEXT("SPFILENOTIFY_NEEDMEDIA "), // 0x0000000e
  81. TEXT("SPFILENOTIFY_QUEUESCAN ") // 0x0000000f
  82. };
  83. #endif // __USERDBG__