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.

54 lines
1.5 KiB

  1. //+-------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1999 - 1999
  6. //
  7. // File: dlldatax.c
  8. //
  9. //--------------------------------------------------------------------------
  10. // wrapper for dlldata.c
  11. #ifdef _MERGE_PROXYSTUB // merge proxy stub DLL
  12. #define REGISTER_PROXY_DLL //DllRegisterServer, etc.
  13. #ifndef _WIN32_WINNT
  14. #define _WIN32_WINNT 0x0400 //for WinNT 4.0 or Win95 with DCOM
  15. #endif
  16. #define USE_STUBLESS_PROXY //defined only with MIDL switch /Oicf
  17. #pragma comment(lib, "rpcndr.lib")
  18. #pragma comment(lib, "rpcns4.lib")
  19. #pragma comment(lib, "rpcrt4.lib")
  20. #define DllMain PrxDllMain
  21. #define DllRegisterServer PrxDllRegisterServer
  22. #define DllUnregisterServer PrxDllUnregisterServer
  23. #define DllGetClassObject PrxDllGetClassObject
  24. #define DllCanUnloadNow PrxDllCanUnloadNow
  25. #include "dlldata.c"
  26. #include "scardssp_p.c"
  27. #ifdef _NOPROXY //no midl generated dlldata.c
  28. #define STRICT 1
  29. #include <ole2.h>
  30. BOOL WINAPI PrxDllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
  31. {return TRUE;}
  32. STDAPI PrxDllCanUnloadNow(void){return S_OK;}
  33. STDAPI PrxDllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
  34. {return CLASS_E_CLASSNOTAVAILABLE;}
  35. STDAPI PrxDllRegisterServer(void){return S_OK;}
  36. STDAPI PrxDllUnregisterServer(void){return S_OK;}
  37. #endif //!PROXY_DELEGATION
  38. #endif //_MERGE_PROXYSTUB