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.

94 lines
1.6 KiB

  1. #include "basepch.h"
  2. #pragma hdrstop
  3. #include <setupapi.h>
  4. #include <ocmanage.h>
  5. #include <ocmgrlib.h>
  6. static
  7. PVOID
  8. OcInitialize(
  9. IN POCM_CLIENT_CALLBACKS Callbacks,
  10. IN LPCTSTR MasterOcInfName,
  11. IN UINT Flags,
  12. OUT PBOOL ShowError,
  13. IN PVOID Log
  14. )
  15. {
  16. return NULL;
  17. }
  18. static
  19. VOID
  20. OcTerminate(
  21. IN OUT PVOID *OcManagerContext
  22. )
  23. {
  24. }
  25. static
  26. UINT
  27. OcGetWizardPages(
  28. IN PVOID OcManagerContext,
  29. OUT PSETUP_REQUEST_PAGES Pages[WizPagesTypeMax]
  30. )
  31. {
  32. return ERROR_PROC_NOT_FOUND;
  33. }
  34. static
  35. HPROPSHEETPAGE
  36. OcCreateOcPage(
  37. IN PVOID OcManagerContext,
  38. IN POC_PAGE_CONTROLS WizardPageControlsInfo,
  39. IN POC_PAGE_CONTROLS DetailsPageControlsInfo
  40. )
  41. {
  42. return NULL;
  43. }
  44. static
  45. HPROPSHEETPAGE
  46. OcCreateSetupPage(
  47. IN PVOID OcManagerContext,
  48. IN PSETUP_PAGE_CONTROLS ControlsInfo
  49. )
  50. {
  51. return NULL;
  52. }
  53. static
  54. VOID
  55. OcRememberWizardDialogHandle(
  56. IN PVOID OcManagerContext,
  57. IN HWND DialogHandle
  58. )
  59. {
  60. }
  61. static
  62. BOOL
  63. OcSubComponentsPresent(
  64. IN PVOID OcManagerContext
  65. )
  66. {
  67. return FALSE;
  68. }
  69. //
  70. // !! WARNING !! The entries below must be in alphabetical order, and are CASE SENSITIVE (eg lower case comes last!)
  71. //
  72. DEFINE_PROCNAME_ENTRIES(ocmanage)
  73. {
  74. DLPENTRY(OcCreateOcPage)
  75. DLPENTRY(OcCreateSetupPage)
  76. DLPENTRY(OcGetWizardPages)
  77. DLPENTRY(OcInitialize)
  78. DLPENTRY(OcRememberWizardDialogHandle)
  79. DLPENTRY(OcSubComponentsPresent)
  80. DLPENTRY(OcTerminate)
  81. };
  82. DEFINE_PROCNAME_MAP(ocmanage)