public HRESULT SetCallback(IMFVideoSampleAllocatorNotify *pNotify)
 {
     return(((delegate * unmanaged <IMFVideoSampleAllocatorCallback *, IMFVideoSampleAllocatorNotify *, int>)(lpVtbl[3]))((IMFVideoSampleAllocatorCallback *)Unsafe.AsPointer(ref this), pNotify));
 }
 public int SetCallback([NativeTypeName("IMFVideoSampleAllocatorNotify *")] IMFVideoSampleAllocatorNotify *pNotify)
 {
     return(((delegate * unmanaged <IMFVideoSampleAllocatorCallback *, IMFVideoSampleAllocatorNotify *, int>)(lpVtbl[3]))((IMFVideoSampleAllocatorCallback *)Unsafe.AsPointer(ref this), pNotify));
 }