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.

51 lines
1.3 KiB

  1. /*++
  2. Microsoft Windows
  3. Copyright (C) Microsoft Corporation, 1981 - 1998
  4. Module Name:
  5. utils.hxx
  6. Abstract:
  7. Author:
  8. Rahul Thombre (RahulTh) 4/8/1998
  9. Revision History:
  10. 4/8/1998 RahulTh
  11. Created this module.
  12. --*/
  13. #ifndef __UTILS_HXX__
  14. #define __UTILS_HXX__
  15. #ifdef UNICODE
  16. #define PROPSHEETPAGE_V3 PROPSHEETPAGEW_V3
  17. #else
  18. #define PROPSHEETPAGE_V3 PROPSHEETPAGEA_V3
  19. #endif
  20. BOOL IsSpecialDescendant (const long nID, UINT* parentID = NULL);
  21. void SplitRHS (CString& szValue, unsigned long & flags, CString& szPath);
  22. void ExtractDisplayName (const CString& szFullname, CString& szDisplayname);
  23. HRESULT SplitProfileString (CString szPair, CString& szKey, CString& szValue);
  24. HRESULT ConvertOldStyleSection (const CString& szGPTPath);
  25. LONG GetFolderIndex (const CString& szName);
  26. HRESULT CheckIniFormat (LPCTSTR szIniFile);
  27. NTSTATUS GetIntFromUnicodeString (const WCHAR* szNum, ULONG Base, PULONG pValue);
  28. DWORD GetUNCPath (LPCTSTR lpszPath, CString& szUNC);
  29. int CALLBACK BrowseCallbackProc (HWND hwnd, UINT uMsg,
  30. LPARAM lParam, LPARAM lpData);
  31. DWORD PrecreateUnicodeIniFile (LPCTSTR lpszFilePath);
  32. BOOL IsValidPrefix (UINT pathType, LPCTSTR pwszPath);
  33. BOOL AlwaysShowMyPicsNode (void);
  34. HPROPSHEETPAGE CreateThemedPropertySheetPage(AFX_OLDPROPSHEETPAGE* psp);
  35. #endif //__UTILS_HXX__