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.

38 lines
1.3 KiB

  1. #ifndef __LOADENGINE_H_
  2. #define __LOADENGINE_H_
  3. /////////////////////////////////////////////////////////////////////////////
  4. // LoadIUEngine()
  5. //
  6. // load the engine if it's not up-to-date; perform engine's self-update here
  7. /////////////////////////////////////////////////////////////////////////////
  8. HMODULE WINAPI LoadIUEngine(BOOL fSynch, BOOL fOfflineMode);
  9. /////////////////////////////////////////////////////////////////////////////
  10. // UnLoadIUEngine()
  11. //
  12. // release the engine dll if ref cnt of engine is down to zero
  13. /////////////////////////////////////////////////////////////////////////////
  14. void WINAPI UnLoadIUEngine(HMODULE hEngineModule);
  15. /////////////////////////////////////////////////////////////////////////////
  16. // CtlCancelEngineLoad()
  17. //
  18. // Asynchronous Callers can use this abort the LoadEngine SelfUpdate Process
  19. //
  20. // NOTE: CDM.DLL assumes UnLoadIUEngine does NOT make any use of COM. If this
  21. // changes then CDM will have to change at the same time.
  22. /////////////////////////////////////////////////////////////////////////////
  23. HRESULT WINAPI CtlCancelEngineLoad();
  24. //
  25. // Typedefs
  26. //
  27. typedef HMODULE (WINAPI * PFN_LoadIUEngine)(BOOL fSynch, BOOL fOfflineMode);
  28. typedef void (WINAPI * PFN_UnLoadIUEngine)(HMODULE hEngineModule);
  29. typedef HRESULT (WINAPI * PFN_CtlCancelEngineLoad)();
  30. #endif //__LOADENGINE_H_