OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 | 7 |
9 #include "SkTypes.h" | 8 #include "SkTypes.h" |
10 #if defined(SK_BUILD_FOR_WIN32) | 9 #if defined(SK_BUILD_FOR_WIN32) |
11 | 10 |
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 return STG_E_INVALIDFLAG; | 270 return STG_E_INVALIDFLAG; |
272 } | 271 } |
273 pStatstg->pwcsName = nullptr; | 272 pStatstg->pwcsName = nullptr; |
274 pStatstg->cbSize.QuadPart = 0; | 273 pStatstg->cbSize.QuadPart = 0; |
275 pStatstg->clsid = CLSID_NULL; | 274 pStatstg->clsid = CLSID_NULL; |
276 pStatstg->type = STGTY_STREAM; | 275 pStatstg->type = STGTY_STREAM; |
277 pStatstg->grfMode = STGM_WRITE; | 276 pStatstg->grfMode = STGM_WRITE; |
278 return S_OK; | 277 return S_OK; |
279 } | 278 } |
280 #endif//defined(SK_BUILD_FOR_WIN32) | 279 #endif//defined(SK_BUILD_FOR_WIN32) |
OLD | NEW |