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.

68 lines
1.5 KiB

  1. #include "inseng.h"
  2. #include "advpub.h"
  3. #include "iesetup.h"
  4. #include "resource.h"
  5. #include <regstr.h>
  6. extern HINSTANCE g_hInstance;
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif /* __cplusplus */
  10. HRESULT FixIE(BOOL bConfirm, DWORD dwFlags);
  11. #ifdef __cplusplus
  12. }
  13. #endif /* __cplusplus */
  14. #define WM_FINISHED (WM_USER + 0x123)
  15. #define MAX_STRING 1024
  16. #define MAX_VER 64
  17. #define MAX_CONTENT 0x7fff
  18. #define BUFFERSIZE 1024
  19. #define FIXIE_NORMAL 0x00000000
  20. #define FIXIE_QUIET 0x00000001
  21. #define FIXIE_ICONS 0x00000002
  22. typedef struct _LINKEDCIFCOMPONENT
  23. {
  24. ICifComponent *pCifComponent;
  25. char szGuid[MAX_STRING];
  26. char szVFS[MAX_STRING];
  27. char szROEX[MAX_STRING];
  28. char szPostROEX[MAX_STRING];
  29. struct _LINKEDCIFCOMPONENT *next;
  30. } LINKEDCIFCOMPONENT, *LCIFCOMPONENT;
  31. // ENTRY POINT FOR IERNONCE.DLL
  32. #define achRunOnceExProcess "RunOnceExProcess"
  33. void WINAPI RunOnceExProcess(HWND hWnd, HINSTANCE hInstance, LPSTR lpCmdLine, int nCmdShow);
  34. typedef HRESULT (WINAPI *RUNONCEEXPROCESS)
  35. (
  36. HWND hWnd,
  37. HINSTANCE hInstance,
  38. LPSTR lpCmdLine,
  39. int nCmdShow
  40. );
  41. typedef VOID (*RUNONCEEXPROCESSCALLBACK)
  42. (
  43. int nCurrent,
  44. int nMax,
  45. LPSTR pszError
  46. );
  47. #define achInitCallback "InitCallback"
  48. void WINAPI InitCallback(RUNONCEEXPROCESSCALLBACK pCallbackProc, BOOL bQuiet);
  49. typedef VOID (WINAPI *INITCALLBACK)
  50. (
  51. RUNONCEEXPROCESSCALLBACK pCallbackProc,
  52. BOOL bQuiet
  53. );