Leaked source code of windows server 2003
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.

45 lines
1.4 KiB

  1. //+----------------------------------------------------------------------------
  2. //
  3. // Windows NT Secure Server Roles Security Configuration Wizard
  4. //
  5. // Microsoft Windows
  6. // Copyright (C) Microsoft Corporation, 1992 - 2002
  7. //
  8. // File: misc.h
  9. //
  10. // Contents: Miscelaneous helper functions.
  11. //
  12. // History: 4-Oct-01 EricB created
  13. //
  14. //-----------------------------------------------------------------------------
  15. #ifndef MISC_H_GUARD
  16. #define MISC_H_GUARD
  17. //+----------------------------------------------------------------------------
  18. //
  19. // Function: SetLargeFont
  20. //
  21. // Sets the font of a control to a large point bold font as per Wizard '97
  22. // spec.
  23. //
  24. // dialog - handle to the dialog that is the parent of the control
  25. //
  26. // bigBoldResID - resource id of the control to change
  27. //-----------------------------------------------------------------------------
  28. void
  29. SetLargeFont(HWND dialog, int bigBoldResID);
  30. //+----------------------------------------------------------------------------
  31. //
  32. // Function: GetNodeText
  33. //
  34. // Returns the text value for the named node. Returns S_FALSE if the named
  35. // node cannot be found or contains no text. Will only return the first instance
  36. // of a node with the given name.
  37. //
  38. //-----------------------------------------------------------------------------
  39. HRESULT
  40. GetNodeText(IXMLDOMNode * pNode, PCWSTR pwzNodeName, String & strText);
  41. #endif // MISC_H_GUARD