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

  1. /*
  2. * BSTR utilities
  3. *
  4. */
  5. #ifndef _BSTR_H
  6. #define _BSTR_H
  7. OESTDAPI_(HRESULT) HrIStreamToBSTR(UINT cp, LPSTREAM pstm, BSTR *pbstr);
  8. OESTDAPI_(HRESULT) HrLPSZToBSTR(LPCSTR lpsz, BSTR *pbstr);
  9. OESTDAPI_(HRESULT) HrLPSZCPToBSTR(UINT cp, LPCSTR lpsz, BSTR *pbstr);
  10. OESTDAPI_(HRESULT) HrIStreamWToBSTR(LPSTREAM pstmW, BSTR *pbstr);
  11. OESTDAPI_(HRESULT) HrBSTRToLPSZ(UINT cp, BSTR bstr, LPSTR *ppszOut);
  12. #endif //_BSTR_H