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.

39 lines
990 B

  1. // wrapper for dlldata.c
  2. #ifdef _MERGE_PROXYSTUB // merge proxy stub DLL
  3. #define REGISTER_PROXY_DLL //DllRegisterServer, etc.
  4. #pragma comment(lib, "rpcndr.lib")
  5. #pragma comment(lib, "rpcns4.lib")
  6. #pragma comment(lib, "rpcrt4.lib")
  7. #define DllMain PrxDllMain
  8. #define DllRegisterServer PrxDllRegisterServer
  9. #define DllUnregisterServer PrxDllUnregisterServer
  10. #define DllGetClassObject PrxDllGetClassObject
  11. #define DllCanUnloadNow PrxDllCanUnloadNow
  12. #include "dlldata.c"
  13. #include "dsctl_p.c"
  14. #ifdef _NOPROXY //no midl generated dlldata.c
  15. #define STRICT 1
  16. #include <ole2.h>
  17. BOOL WINAPI PrxDllMain(HINSTANCE hInstance, DWORD dwReason, LPVOID lpReserved)
  18. {return TRUE;}
  19. STDAPI PrxDllCanUnloadNow(void){return S_OK;}
  20. STDAPI PrxDllGetClassObject(REFCLSID rclsid, REFIID riid, LPVOID* ppv)
  21. {return CLASS_E_CLASSNOTAVAILABLE;}
  22. STDAPI PrxDllRegisterServer(void){return S_OK;}
  23. STDAPI PrxDllUnregisterServer(void){return S_OK;}
  24. #endif //!PROXY_DELEGATION
  25. #endif //_MERGE_PROXYSTUB