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.

114 lines
1.5 KiB

  1. /*++
  2. Copyright (c) 1994-1999 Microsoft Corporation
  3. Module Name :
  4. dlldatax.c
  5. Abstract:
  6. wrapper for dlldata.c
  7. Author:
  8. Ronald Meijer (ronaldm)
  9. Project:
  10. Internet Services Manager (cluster edition)
  11. Revision History:
  12. --*/
  13. #ifdef _MERGE_PROXYSTUB // merge proxy stub DLL
  14. #define REGISTER_PROXY_DLL // DllRegisterServer, etc.
  15. #define USE_STUBLESS_PROXY // defined only with MIDL switch /Oicf
  16. #pragma comment(lib, "rpcndr.lib")
  17. #pragma comment(lib, "rpcns4.lib")
  18. #pragma comment(lib, "rpcrt4.lib")
  19. #define DllMain PrxDllMain
  20. #define DllRegisterServer PrxDllRegisterServer
  21. #define DllUnregisterServer PrxDllUnregisterServer
  22. #define DllGetClassObject PrxDllGetClassObject
  23. #define DllCanUnloadNow PrxDllCanUnloadNow
  24. #include "dlldata.c"
  25. #include "inetmgr_p.c"
  26. #ifdef _NOPROXY //no midl generated dlldata.c
  27. #define STRICT 1
  28. #include <ole2.h>
  29. BOOL
  30. WINAPI
  31. PrxDllMain(
  32. IN HINSTANCE hInstance,
  33. IN DWORD dwReason,
  34. IN LPVOID lpReserved
  35. )
  36. {
  37. return TRUE;
  38. }
  39. STDAPI
  40. PrxDllCanUnloadNow()
  41. {
  42. return S_OK;
  43. }
  44. STDAPI
  45. PrxDllGetClassObject(
  46. IN REFCLSID rclsid,
  47. IN REFIID riid,
  48. IN LPVOID * ppv
  49. )
  50. {
  51. return CLASS_E_CLASSNOTAVAILABLE;
  52. }
  53. STDAPI
  54. PrxDllRegisterServer()
  55. {
  56. return S_OK;
  57. }
  58. STDAPI
  59. PrxDllUnregisterServer()
  60. {
  61. return S_OK;
  62. }
  63. #endif //!PROXY_DELEGATION
  64. #endif //_MERGE_PROXYSTUB