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.

31 lines
839 B

  1. //+==============================================================================
  2. //
  3. // File: CFMEx.hxx
  4. //
  5. // Purpose: Provide global definitions and function prototypes
  6. // for the CreateFileMonikerEx DRT.
  7. //
  8. //+==============================================================================
  9. #ifndef _CFMEX_HXX_
  10. #define _CFMEX_HXX_
  11. // The size of a buffer which will hold a path depends on the size
  12. // of the characters.
  13. #define MAX_ANSI_PATH MAX_PATH
  14. #define MAX_UNICODE_PATH ( MAX_PATH * sizeof( WCHAR ))
  15. // Function prototypes.
  16. DWORD AnsiToUnicode( const CHAR * szAnsi,
  17. WCHAR * wszUnicode,
  18. int cbUnicodeMax );
  19. DWORD UnicodeToAnsi( const WCHAR * wszUnicode,
  20. CHAR * szAnsi,
  21. int cbAnsiMax );
  22. #endif // _CFMEX_HXX_