mirror of https://github.com/tongzx/nt5src
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
31 lines
839 B
|
|
//+==============================================================================
|
|
//
|
|
// 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_
|