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.

74 lines
2.0 KiB

  1. /*********************************************************
  2. DllData file -- partially generated by MIDL compiler
  3. we are building the .idls over in published but we want the actual proxy stub to live in
  4. msvidctl.dll *not* quartz.dll
  5. this is because registering the typelibs wipes out the proxy stub registration and
  6. we want to avoid any registration order dependencies. so , we must register the proxy/stubs in
  7. the vidctl after the typelib registration and it wouldn't be good to do it in both places and
  8. make quartz.dll unecessarily larger.
  9. consequently, we are manually maintaining this file. if you add a new .idl to the vidctl you
  10. must update these entries
  11. for simplicity sake since we know we're always merging the proxy stub we're combining dlldata.c and
  12. dlldatax.c as well.
  13. *********************************************************/
  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" as follows...
  25. // wrapper for dlldata.c
  26. #define PROXY_DELEGATION
  27. #include <rpcproxy.h>
  28. #ifdef __cplusplus
  29. extern "C" {
  30. #endif
  31. #define USE_STUBLESS_PROXY
  32. EXTERN_PROXY_FILE( regbag )
  33. EXTERN_PROXY_FILE( tuner )
  34. #ifndef TUNING_MODEL_ONLY
  35. EXTERN_PROXY_FILE( segment )
  36. EXTERN_PROXY_FILE( msvidctl )
  37. #endif
  38. PROXYFILE_LIST_START
  39. REFERENCE_PROXY_FILE( regbag ),
  40. REFERENCE_PROXY_FILE( tuner ),
  41. #ifndef TUNING_MODEL_ONLY
  42. REFERENCE_PROXY_FILE( segment ),
  43. REFERENCE_PROXY_FILE( msvidctl ),
  44. #endif
  45. /* End of list */
  46. PROXYFILE_LIST_END
  47. DLLDATA_ROUTINES( aProxyFileList, GET_DLL_CLSID )
  48. #ifdef __cplusplus
  49. } /*extern "C" */
  50. #endif
  51. /* end of generated dlldatax.c file */