Example #1
0
 public int GetXlcModeDDObjAndPrimarySurface([NativeTypeName("LPDIRECTDRAW7 *")] IDirectDraw7 **lpDDObj, [NativeTypeName("LPDIRECTDRAWSURFACE7 *")] IDirectDrawSurface7 **lpPrimarySurf)
 {
     return(((delegate * unmanaged <IVMRImagePresenterExclModeConfig *, IDirectDraw7 **, IDirectDrawSurface7 **, int>)(lpVtbl[6]))((IVMRImagePresenterExclModeConfig *)Unsafe.AsPointer(ref this), lpDDObj, lpPrimarySurf));
 }
 public int DuplicateSurface([NativeTypeName("LPDIRECTDRAWSURFACE7")] IDirectDrawSurface7 *param0, [NativeTypeName("LPDIRECTDRAWSURFACE7 *")] IDirectDrawSurface7 **param1)
 {
     return(((delegate * unmanaged <IDirectDraw7 *, IDirectDrawSurface7 *, IDirectDrawSurface7 **, int>)(lpVtbl[7]))((IDirectDraw7 *)Unsafe.AsPointer(ref this), param0, param1));
 }
Example #3
0
 public int GetSurface([NativeTypeName("LPDIRECTDRAWSURFACE7 *")] IDirectDrawSurface7 **lplpSurface)
 {
     return(((delegate * unmanaged <IVMRSurface *, IDirectDrawSurface7 **, int>)(lpVtbl[6]))((IVMRSurface *)Unsafe.AsPointer(ref this), lplpSurface));
 }
 public int CreateSurface([NativeTypeName("LPDDSURFACEDESC2")] DDSURFACEDESC2 *param0, [NativeTypeName("LPDIRECTDRAWSURFACE7 *")] IDirectDrawSurface7 **param1, [NativeTypeName("IUnknown *")] IUnknown *param2)
 {
     return(((delegate * unmanaged <IDirectDraw7 *, DDSURFACEDESC2 *, IDirectDrawSurface7 **, IUnknown *, int>)(lpVtbl[6]))((IDirectDraw7 *)Unsafe.AsPointer(ref this), param0, param1, param2));
 }
 public HRESULT AllocateSurface([NativeTypeName("DWORD_PTR")] nuint dwUserID, VMRALLOCATIONINFO *lpAllocInfo, [NativeTypeName("DWORD *")] uint *lpdwActualBuffers, [NativeTypeName("LPDIRECTDRAWSURFACE7 *")] IDirectDrawSurface7 **lplpSurface)
 {
     return(((delegate * unmanaged <IVMRSurfaceAllocator *, nuint, VMRALLOCATIONINFO *, uint *, IDirectDrawSurface7 **, int>)(lpVtbl[3]))((IVMRSurfaceAllocator *)Unsafe.AsPointer(ref this), dwUserID, lpAllocInfo, lpdwActualBuffers, lplpSurface));
 }