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.

52 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 2000 Microsoft Corporation
  3. Module Name:
  4. childreg.h
  5. Abstract:
  6. Shared between setupapi.dll and wowreg32.exe
  7. Author:
  8. Jamie Hunter (jamiehun) May-25-2000
  9. --*/
  10. //
  11. // definition of shared memory region for wow surragate dll registration
  12. //
  13. typedef struct _WOW_IPC_REGION_TOSURRAGATE {
  14. WCHAR FullPath[MAX_PATH];
  15. WCHAR Argument[MAX_PATH];
  16. UINT RegType;
  17. BOOL Register; // or unregister
  18. } WOW_IPC_REGION_TOSURRAGATE, *PWOW_IPC_REGION_TOSURRAGATE;
  19. //
  20. // definition of shared memory region for wow surragate dll registration
  21. //
  22. typedef struct _WOW_IPC_REGION_FROMSURRAGATE {
  23. DWORD Win32Error;
  24. DWORD FailureCode;
  25. } WOW_IPC_REGION_FROMSURRAGATE, *PWOW_IPC_REGION_FROMSURRAGATE;
  26. //
  27. // this should be the max of WOW_IPC_REGION_TOSURRAGATE,WOW_IPC_REGION_FROMSURRAGATE
  28. //
  29. #define WOW_IPC_REGION_SIZE sizeof(WOW_IPC_REGION_TOSURRAGATE)
  30. #ifdef _WIN64
  31. #define SURRAGATE_PROCESSNAME L"%SystemRoot%\\syswow64\\WOWReg32.exe"
  32. #else
  33. #define SURRAGATE_PROCESSNAME L"%SystemRoot%\\system32\\WOWReg32.exe"
  34. #endif
  35. #define SURRAGATE_REGIONNAME_SWITCH L"/RegionName"
  36. #define SURRAGATE_SIGNALREADY_SWITCH L"/SignalReady"
  37. #define SURRAGATE_SIGNALCOMPLETE_SWITCH L"/SignalComplete"