wmsbuffer.idl 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. /*
  2. * Copyright 2012 André Hentschel
  3. *
  4. * This library is free software; you can redistribute it and/or
  5. * modify it under the terms of the GNU Lesser General Public
  6. * License as published by the Free Software Foundation; either
  7. * version 2.1 of the License, or (at your option) any later version.
  8. *
  9. * This library is distributed in the hope that it will be useful,
  10. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  12. * Lesser General Public License for more details.
  13. *
  14. * You should have received a copy of the GNU Lesser General Public
  15. * License along with this library; if not, write to the Free Software
  16. * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  17. */
  18. import "objidl.idl";
  19. [
  20. object,
  21. uuid(e1cd3524-03d7-11d2-9eed-006097d2d7cf),
  22. pointer_default(unique),
  23. local
  24. ]
  25. interface INSSBuffer : IUnknown
  26. {
  27. HRESULT GetLength(
  28. [out] DWORD *pdwLength);
  29. HRESULT SetLength(
  30. [in] DWORD dwLength);
  31. HRESULT GetMaxLength(
  32. [out] DWORD *pdwLength);
  33. HRESULT GetBuffer(
  34. [out] BYTE **ppdwBuffer);
  35. HRESULT GetBufferAndLength(
  36. [out] BYTE **ppdwBuffer,
  37. [out] DWORD *pdwLength);
  38. }
  39. [
  40. object,
  41. local,
  42. uuid(4f528693-1035-43fe-b428-757561ad3a68),
  43. ]
  44. interface INSSBuffer2 : INSSBuffer
  45. {
  46. HRESULT GetSampleProperties(DWORD size, BYTE *props);
  47. HRESULT SetSampleProperties(DWORD size, BYTE *props);
  48. }
  49. [
  50. object,
  51. local,
  52. uuid(c87ceaaf-75be-4bc4-84eb-ac2798507672),
  53. ]
  54. interface INSSBuffer3 : INSSBuffer2
  55. {
  56. HRESULT SetProperty(GUID id, void *value, DWORD size);
  57. HRESULT GetProperty(GUID id, void *value, DWORD *size);
  58. }