コード例 #1
0
 public HRESULT RequestAllocator(IMemAllocator *pPreferred, ALLOCATOR_PROPERTIES *pProps, IMemAllocator **ppActual)
 {
     return(((delegate * unmanaged <IAsyncReader *, IMemAllocator *, ALLOCATOR_PROPERTIES *, IMemAllocator **, int>)(lpVtbl[3]))((IAsyncReader *)Unsafe.AsPointer(ref this), pPreferred, pProps, ppActual));
 }
コード例 #2
0
 public int NotifyAllocator([NativeTypeName("IMemAllocator *")] IMemAllocator *pAllocator, [NativeTypeName("BOOL")] int bReadOnly)
 {
     return(((delegate * unmanaged <IMemInputPin *, IMemAllocator *, int, int>)(lpVtbl[4]))((IMemInputPin *)Unsafe.AsPointer(ref this), pAllocator, bReadOnly));
 }
コード例 #3
0
 public HRESULT NotifyAllocator(IMemAllocator *pAllocator, BOOL bReadOnly)
 {
     return(((delegate * unmanaged <IMemInputPin *, IMemAllocator *, BOOL, int>)(lpVtbl[4]))((IMemInputPin *)Unsafe.AsPointer(ref this), pAllocator, bReadOnly));
 }
コード例 #4
0
 public int RequestAllocator([NativeTypeName("IMemAllocator *")] IMemAllocator *pPreferred, [NativeTypeName("ALLOCATOR_PROPERTIES *")] ALLOCATOR_PROPERTIES *pProps, [NativeTypeName("IMemAllocator **")] IMemAllocator **ppActual)
 {
     return(((delegate * unmanaged <IAsyncReader *, IMemAllocator *, ALLOCATOR_PROPERTIES *, IMemAllocator **, int>)(lpVtbl[3]))((IAsyncReader *)Unsafe.AsPointer(ref this), pPreferred, pProps, ppActual));
 }