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.

33 lines
854 B

  1. #ifndef _DIACREATE_H_
  2. #define _DIACREATE_H_
  3. #ifdef DIA_LIBRARY
  4. //
  5. // Create a dia data source object from a static dia library
  6. //
  7. HRESULT STDMETHODCALLTYPE DiaCoCreate(
  8. REFCLSID rclsid,
  9. REFIID riid,
  10. void **ppv);
  11. #else
  12. //
  13. // Create a dia data source object from the dia dll (by dll name - does not access the registry).
  14. //
  15. HRESULT STDMETHODCALLTYPE NoRegCoCreate( const char*dllName,
  16. REFCLSID rclsid,
  17. REFIID riid,
  18. void **ppv);
  19. //
  20. // Create a dia data source object from the dia dll (looks up the class id in the registry).
  21. //
  22. HRESULT STDMETHODCALLTYPE NoOleCoCreate( REFCLSID rclsid,
  23. REFIID riid,
  24. void **ppv);
  25. #endif
  26. #endif