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.

35 lines
804 B

  1. /*******************************************************************************
  2. *
  3. * (C) COPYRIGHT MICROSOFT CORPORATION, 1998
  4. *
  5. * TITLE: WIAFUSION.CPP
  6. *
  7. * VERSION: 1.0
  8. *
  9. * AUTHOR: ShaunIv
  10. *
  11. * DATE: 5/28/1998
  12. *
  13. * DESCRIPTION: Various utility functions we use in more than one place
  14. *
  15. *******************************************************************************/
  16. #include "precomp.h"
  17. #pragma hdrstop
  18. #include <commctrl.h>
  19. namespace WiaUiUtil
  20. {
  21. void PreparePropertyPageForFusion( PROPSHEETPAGE *pPropSheetPage )
  22. {
  23. #if defined(PSP_USEFUSIONCONTEXT)
  24. if (pPropSheetPage)
  25. {
  26. pPropSheetPage->hActCtx = g_hActCtx;
  27. pPropSheetPage->dwFlags |= PSP_USEFUSIONCONTEXT;
  28. }
  29. #endif
  30. }
  31. } // End namespace WiaUiUtil