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.

54 lines
1.2 KiB

  1. /*****************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORPORATION, 2000
  4. *
  5. * TITLE: fusutils.h
  6. *
  7. * VERSION: 1.0
  8. *
  9. * AUTHOR: LazarI
  10. *
  11. * DATE: 14-Feb-2001
  12. *
  13. * DESCRIPTION: Fusion utilities
  14. *
  15. *****************************************************************************/
  16. #ifndef _FUSUTILS_H
  17. #define _FUSUTILS_H
  18. // open C code brace
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. //
  23. // CreateActivationContextFromExecutableEx:
  24. //
  25. // check the passed in executable name for a manifest (if any)
  26. // and creates an activation context from it.
  27. //
  28. HRESULT CreateActivationContextFromExecutableEx(
  29. LPCTSTR lpszExecutableName,
  30. UINT uResourceID,
  31. BOOL bMakeProcessDefault,
  32. HANDLE *phActCtx);
  33. //
  34. // CreateActivationContextFromExecutable:
  35. //
  36. // check the passed in executable name for a manifest (if any)
  37. // and creates an activation context from it using the defaults
  38. // (i.e. bMakeProcessDefault=FALSE & uResourceID=123)
  39. //
  40. HRESULT CreateActivationContextFromExecutable(
  41. LPCTSTR lpszExecutableName,
  42. HANDLE *phActCtx);
  43. // close C code brace
  44. #ifdef __cplusplus
  45. }
  46. #endif
  47. #endif // endif _FUSUTILS_H