Home | History | Annotate | Download | only in win

Lines Matching defs:bstr

17   COMPILE_ASSERT(sizeof(ScopedBstr) == sizeof(BSTR), ScopedBstrSize);
21 void ScopedBstr::Reset(BSTR bstr) {
22 if (bstr != bstr_) {
25 bstr_ = bstr;
29 BSTR ScopedBstr::Release() {
30 BSTR bstr = bstr_;
32 return bstr;
36 BSTR tmp = bstr_;
41 BSTR* ScopedBstr::Receive() {
42 DCHECK(!bstr_) << "BSTR leak.";
46 BSTR ScopedBstr::Allocate(const char16* str) {
51 BSTR ScopedBstr::AllocateBytes(size_t bytes) {
57 DCHECK(bstr_ != NULL) << "attempting to modify a NULL bstr";