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