windows-nt/Source/XPSP1/NT/com/oleutest/cfmex/cfmex.hxx

32 lines
839 B
C++
Raw Normal View History

2020-09-26 03:20:57 -05:00
//+==============================================================================
//
// 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_