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.

41 lines
1.1 KiB

  1. //
  2. // Copyright (c) 1999-2001 Microsoft Corporation, All Rights Reserved
  3. //
  4. #define _WIN32_DCOM
  5. #define READ_HANDLE 0
  6. #define WRITE_HANDLE 1
  7. extern BOOL APIENTRY DllMain (
  8. HINSTANCE hinstDLL,
  9. DWORD fdwReason,
  10. LPVOID lpReserved
  11. );
  12. STDAPI DllRegisterServer();
  13. STDAPI DllUnregisterServer();
  14. BOOL IsLessThan4();
  15. BOOL IsNT();
  16. //LRESULT CALLBACK WndProc(IN HWND hWnd, IN UINT message,
  17. // IN WPARAM wParam, IN LPARAM lParam);
  18. //HWND CreateMsiMethWindow(IN HINSTANCE hInstance);
  19. //HRESULT UninitComServer ();
  20. //HRESULT InitInstanceProvider();
  21. //HRESULT InitComServer ( DWORD a_AuthenticationLevel , DWORD a_ImpersonationLevel );
  22. //void WindowsDispatch ();
  23. //HRESULT Process ();
  24. void TerminateRunning();
  25. BOOL ParseCommandLine ();
  26. int APIENTRY WinMain(HINSTANCE hInstance,
  27. HINSTANCE hPrevInstance,
  28. LPSTR lpCmdLine,
  29. int nCmdShow);
  30. extern HANDLE g_hTerminateEvent;
  31. extern HANDLE g_hMethodAdd;
  32. extern HANDLE g_hMethodRelease;
  33. extern HANDLE g_hPipe;
  34. extern HANDLE g_hMutex;
  35. extern bool g_bPipe;