Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

114 lines
4.1 KiB

  1. #include <strmif_p.c>
  2. /* [local] */ HRESULT STDMETHODCALLTYPE IKsPropertySet_Set_Proxy(
  3. IKsPropertySet __RPC_FAR * This,
  4. /* [in] */ REFGUID guidPropSet,
  5. /* [in] */ DWORD dwPropID,
  6. /* [size_is][in] */ LPVOID pInstanceData,
  7. /* [in] */ DWORD cbInstanceData,
  8. /* [size_is][in] */ LPVOID pPropData,
  9. /* [in] */ DWORD cbPropData)
  10. {
  11. return IKsPropertySet_RemoteSet_Proxy(This, guidPropSet, dwPropID,
  12. (LPBYTE) pInstanceData, cbInstanceData,
  13. (LPBYTE) pPropData, cbPropData);
  14. }
  15. /* [call_as] */ HRESULT STDMETHODCALLTYPE IKsPropertySet_Set_Stub(
  16. IKsPropertySet __RPC_FAR * This,
  17. /* [in] */ REFGUID guidPropSet,
  18. /* [in] */ DWORD dwPropID,
  19. /* [size_is][in] */ byte __RPC_FAR *pInstanceData,
  20. /* [in] */ DWORD cbInstanceData,
  21. /* [size_is][in] */ byte __RPC_FAR *pPropData,
  22. /* [in] */ DWORD cbPropData)
  23. {
  24. return This->lpVtbl->Set(This, guidPropSet, dwPropID,
  25. (LPVOID) pInstanceData, cbInstanceData,
  26. (LPVOID) pPropData, cbPropData);
  27. }
  28. /* [local] */ HRESULT STDMETHODCALLTYPE IKsPropertySet_Get_Proxy(
  29. IKsPropertySet __RPC_FAR * This,
  30. /* [in] */ REFGUID guidPropSet,
  31. /* [in] */ DWORD dwPropID,
  32. /* [size_is][in] */ LPVOID pInstanceData,
  33. /* [in] */ DWORD cbInstanceData,
  34. /* [size_is][out] */ LPVOID pPropData,
  35. /* [in] */ DWORD cbPropData,
  36. /* [out] */ DWORD __RPC_FAR *pcbReturned)
  37. {
  38. return IKsPropertySet_RemoteGet_Proxy(This, guidPropSet, dwPropID,
  39. (LPBYTE) pInstanceData, cbInstanceData,
  40. (LPBYTE) pPropData, cbPropData, pcbReturned);
  41. }
  42. /* [call_as] */ HRESULT STDMETHODCALLTYPE IKsPropertySet_Get_Stub(
  43. IKsPropertySet __RPC_FAR * This,
  44. /* [in] */ REFGUID guidPropSet,
  45. /* [in] */ DWORD dwPropID,
  46. /* [size_is][in] */ byte __RPC_FAR *pInstanceData,
  47. /* [in] */ DWORD cbInstanceData,
  48. /* [size_is][out] */ byte __RPC_FAR *pPropData,
  49. /* [in] */ DWORD cbPropData,
  50. /* [out] */ DWORD __RPC_FAR *pcbReturned)
  51. {
  52. return This->lpVtbl->Get(This, guidPropSet, dwPropID,
  53. (LPVOID) pInstanceData, cbInstanceData,
  54. (LPVOID) pPropData, cbPropData, pcbReturned);
  55. }
  56. HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_FindInterface_Proxy(
  57. ICaptureGraphBuilder __RPC_FAR * This,
  58. /* [unique][in] */ const GUID __RPC_FAR *pCategory,
  59. /* [in] */ IBaseFilter __RPC_FAR *pf,
  60. /* [in] */ REFIID riid,
  61. /* [out] */ void __RPC_FAR *__RPC_FAR *ppint)
  62. {
  63. return ICaptureGraphBuilder_RemoteFindInterface_Proxy(This, pCategory, pf, riid,
  64. (IUnknown **) ppint);
  65. }
  66. HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder_FindInterface_Stub(
  67. ICaptureGraphBuilder __RPC_FAR * This,
  68. /* [unique][in] */ const GUID __RPC_FAR *pCategory,
  69. /* [in] */ IBaseFilter __RPC_FAR *pf,
  70. /* [in] */ REFIID riid,
  71. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppint)
  72. {
  73. return This->lpVtbl->FindInterface(This, pCategory, pf, riid,(void **) ppint);
  74. }
  75. HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_FindInterface_Proxy(
  76. ICaptureGraphBuilder2 __RPC_FAR * This,
  77. /* [unique][in] */ const GUID __RPC_FAR *pCategory,
  78. /* [unique][in] */ const GUID __RPC_FAR *pType,
  79. /* [in] */ IBaseFilter __RPC_FAR *pf,
  80. /* [in] */ REFIID riid,
  81. /* [out] */ void __RPC_FAR *__RPC_FAR *ppint)
  82. {
  83. return ICaptureGraphBuilder2_RemoteFindInterface_Proxy(This, pCategory, pType, pf, riid,
  84. (IUnknown **) ppint);
  85. }
  86. HRESULT STDMETHODCALLTYPE ICaptureGraphBuilder2_FindInterface_Stub(
  87. ICaptureGraphBuilder2 __RPC_FAR * This,
  88. /* [unique][in] */ const GUID __RPC_FAR *pCategory,
  89. /* [unique][in] */ const GUID __RPC_FAR *pType,
  90. /* [in] */ IBaseFilter __RPC_FAR *pf,
  91. /* [in] */ REFIID riid,
  92. /* [out] */ IUnknown __RPC_FAR *__RPC_FAR *ppint)
  93. {
  94. return This->lpVtbl->FindInterface(This, pCategory, pType, pf, riid, (void **) ppint);
  95. }