Leaked source code of windows server 2003
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.
 
 
 
 
 
 

17 lines
437 B

/*
* BSTR utilities
*
*/
#ifndef _BSTR_H
#define _BSTR_H
OESTDAPI_(HRESULT) HrIStreamToBSTR(UINT cp, LPSTREAM pstm, BSTR *pbstr);
OESTDAPI_(HRESULT) HrLPSZToBSTR(LPCSTR lpsz, BSTR *pbstr);
OESTDAPI_(HRESULT) HrLPSZCPToBSTR(UINT cp, LPCSTR lpsz, BSTR *pbstr);
OESTDAPI_(HRESULT) HrIStreamWToBSTR(LPSTREAM pstmW, BSTR *pbstr);
OESTDAPI_(HRESULT) HrBSTRToLPSZ(UINT cp, BSTR bstr, LPSTR *ppszOut);
#endif //_BSTR_H