Searched defs:BSTR (Results 1 - 3 of 3) sorted by relevance

/external/chromium_org/base/win/
H A Dscoped_bstr.h18 // Manages a BSTR string pointer.
25 // Constructor to create a new BSTR.
27 // NOTE: Do not pass a BSTR to this constructor expecting ownership to
32 // Give ScopedBstr ownership over an already allocated BSTR or NULL.
33 // If you need to allocate a new BSTR instance, use |allocate| instead.
34 void Reset(BSTR bstr = NULL);
36 // Releases ownership of the BSTR to the caller.
37 BSTR Release();
39 // Creates a new BSTR from a 16-bit C-style string.
41 // If you already have a BSTR an
[all...]
/external/lzma/CPP/Common/
H A DMyCom.h81 inline HRESULT StringToBstr(LPCOLESTR src, BSTR *bstr)
90 BSTR m_str;
123 operator BSTR() const { return m_str; }
124 BSTR* operator&() { return &m_str; }
125 BSTR MyCopy() const
128 BSTR res = ::SysAllocStringByteLen(NULL, byteLen);
133 void Attach(BSTR src) { m_str = src; }
134 BSTR Detach()
136 BSTR s = m_str;
H A DMyWindows.h52 typedef OLECHAR *BSTR; typedef
171 BSTR bstrVal;
184 MY_EXTERN_C BSTR SysAllocStringByteLen(LPCSTR psz, UINT len);
185 MY_EXTERN_C BSTR SysAllocString(const OLECHAR *sz);
186 MY_EXTERN_C void SysFreeString(BSTR bstr);
187 MY_EXTERN_C UINT SysStringByteLen(BSTR bstr);
188 MY_EXTERN_C UINT SysStringLen(BSTR bstr);

Completed in 59 milliseconds