| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 | 9 |
| 10 #define WIN32_LEAN_AND_MEAN | 10 #define WIN32_LEAN_AND_MEAN |
| 11 #include <Windows.h> | 11 #include <windows.h> |
| 12 #include <ole2.h> | 12 #include <ole2.h> |
| 13 #include "SkIStream.h" | 13 #include "SkIStream.h" |
| 14 #include "SkStream.h" | 14 #include "SkStream.h" |
| 15 | 15 |
| 16 /** | 16 /** |
| 17 * SkBaseIStream | 17 * SkBaseIStream |
| 18 */ | 18 */ |
| 19 SkBaseIStream::SkBaseIStream() : _refcount(1) { } | 19 SkBaseIStream::SkBaseIStream() : _refcount(1) { } |
| 20 SkBaseIStream::~SkBaseIStream() { } | 20 SkBaseIStream::~SkBaseIStream() { } |
| 21 | 21 |
| (...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 268 if (0 == (grfStatFlag & STATFLAG_NONAME)) { | 268 if (0 == (grfStatFlag & STATFLAG_NONAME)) { |
| 269 return STG_E_INVALIDFLAG; | 269 return STG_E_INVALIDFLAG; |
| 270 } | 270 } |
| 271 pStatstg->pwcsName = NULL; | 271 pStatstg->pwcsName = NULL; |
| 272 pStatstg->cbSize.QuadPart = 0; | 272 pStatstg->cbSize.QuadPart = 0; |
| 273 pStatstg->clsid = CLSID_NULL; | 273 pStatstg->clsid = CLSID_NULL; |
| 274 pStatstg->type = STGTY_STREAM; | 274 pStatstg->type = STGTY_STREAM; |
| 275 pStatstg->grfMode = STGM_WRITE; | 275 pStatstg->grfMode = STGM_WRITE; |
| 276 return S_OK; | 276 return S_OK; |
| 277 } | 277 } |
| OLD | NEW |