public int AddEventHandler([NativeTypeName("HWND")] IntPtr window, [NativeTypeName("IDirectManipulationViewportEventHandler *")] IDirectManipulationViewportEventHandler *eventHandler, [NativeTypeName("DWORD *")] uint *cookie) { return(((delegate * unmanaged <IDirectManipulationViewport2 *, IntPtr, IDirectManipulationViewportEventHandler *, uint *, int>)(lpVtbl[25]))((IDirectManipulationViewport2 *)Unsafe.AsPointer(ref this), window, eventHandler, cookie)); }
public HRESULT AddEventHandler(HWND window, IDirectManipulationViewportEventHandler *eventHandler, [NativeTypeName("DWORD *")] uint *cookie) { return(((delegate * unmanaged <IDirectManipulationViewport *, HWND, IDirectManipulationViewportEventHandler *, uint *, int>)(lpVtbl[25]))((IDirectManipulationViewport *)Unsafe.AsPointer(ref this), window, eventHandler, cookie)); }