• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * This file has no copyright assigned and is placed in the Public Domain.
3 * This file is part of the mingw-w64 runtime package.
4 * No warranty is given; refer to the file DISCLAIMER.PD within this package.
5 */
6
7#ifdef __WIDL__
8#pragma winrt ns_prefix
9#endif
10
11import "inspectable.idl";
12
13namespace Windows {
14  namespace Storage {
15    namespace Streams {
16      interface IBufferFactory;
17      interface IBuffer;
18    }
19  }
20}
21
22namespace Windows {
23  namespace Storage {
24    namespace Streams {
25      [uuid(905A0FE0-BC53-11DF-8C49-001E4FC686DA)]
26      interface IBuffer : IInspectable {
27        [propget] HRESULT Capacity(UINT32* value);
28        [propget] HRESULT Length(UINT32* value);
29        [propput] HRESULT Length(UINT32 value);
30      }
31
32      [uuid(71AF914D-C10F-484B-BC50-14BC623B3A27)]
33      interface IBufferFactory : IInspectable {
34        HRESULT Create(UINT32 capacity, IBuffer** value);
35      }
36    }
37  }
38}
39