2025-04-27 07:49:33 -04:00

36 lines
1004 B
C++
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//+-------------------------------------------------------------
// Microsoft OLE
// Copyright (C) Microsoft Corporation, 1994-1995.
//
// File: convert.hxx
//
// Contents: General conversions functions
//
// Classes:
//
// Functions: TStrToWStr
// WStrToTStr
// MakeUnicodeString
// MakeSingleByteString
//
// History: 07-Feb-95 AlexE Created
// 28-Mar-95 AlexE Removed class implementation
// 29-Jan-98 FarzanaR Ported from ctoleui tree
//---------------------------------------------------------------
#ifndef __CONVERT_HXX__
#define __CONVERT_HXX__
//
// String conversions
//
HRESULT TStrToWStr(LPCTSTR pszSource, LPWSTR *ppszDest) ;
HRESULT WStrToTStr(LPCWSTR pszSource, LPTSTR *ppszDest) ;
HRESULT MakeUnicodeString(LPCSTR pszSource, LPWSTR *ppszDest) ;
HRESULT MakeSingleByteString(LPCWSTR pszSource, LPSTR *ppszDest) ;
#endif // __CONVERT_HXX__