public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid *riid, void **ppvObject) { return(((delegate * unmanaged <IFastRundown *, Guid *, void **, int>)(lpVtbl[0]))((IFastRundown *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public extern static int RoGetBufferMarshaler(void **bufferMarshalerPtr);
public int QueryInterface([NativeTypeName("const IID &")] Guid* riid, void** ppvObject) { return ((delegate* unmanaged<IAppxManifestReader6*, Guid*, void**, int>)(lpVtbl[0]))((IAppxManifestReader6*)Unsafe.AsPointer(ref this), riid, ppvObject); }
public int QueryInterface([NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("void **")] void **ppvObject) { return(((delegate * unmanaged <IMFContentDecryptorContext *, Guid *, void **, int>)(lpVtbl[0]))((IMFContentDecryptorContext *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public int QueryInterface([NativeTypeName("const IID &")] Guid *riid, void **ppvObject) { return(((delegate * unmanaged <IDWriteFontCollection1 *, Guid *, void **, int>)(lpVtbl[0]))((IDWriteFontCollection1 *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public HRESULT Disassemble([NativeTypeName("const DxcBuffer *")] DxcBuffer *pObject, [NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("LPVOID *")] void **ppResult) { return(((delegate * unmanaged <IDxcCompiler3 *, DxcBuffer *, Guid *, void **, int>)(lpVtbl[4]))((IDxcCompiler3 *)Unsafe.AsPointer(ref this), pObject, riid, ppResult)); }
/// <summary> /// Called to retrieve a localized translation for the string specified by /// |message_id|. To provide the translation set |string| to the translation /// string and return true. To use the default translation return false. /// Supported message IDs are listed in cef_pack_strings.h. /// </summary> // protected abstract int GetLocalizedString(int message_id, cef_string_t* @string); private int get_data_resource(cef_resource_bundle_handler_t *self, int resource_id, void **data, UIntPtr *data_size) { CheckSelf(self); throw new NotImplementedException(); // TODO: CefResourceBundleHandler.GetDataResource }
public int CreateDesktopWindowTarget([NativeTypeName("HWND")] IntPtr hwndTarget, [NativeTypeName("BOOL")] int isTopmost, [NativeTypeName("ABI::Windows::UI::Composition::Desktop::IDesktopWindowTarget **")] void **result) { return(((delegate * unmanaged <ICompositorDesktopInterop *, IntPtr, int, void **, int>)(lpVtbl[3]))((ICompositorDesktopInterop *)Unsafe.AsPointer(ref this), hwndTarget, isTopmost, result)); }
public unsafe partial void GetTexParameterPointer([Flow(FlowDirection.In)] APPLE target, [Flow(FlowDirection.In)] APPLE pname, [Count(Count = 1), Flow(FlowDirection.Out)] void** @params);
public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid *riid, void **ppvObject) { return(((delegate * unmanaged <ITfDisplayAttributeNotifySink *, Guid *, void **, int>)(lpVtbl[0]))((ITfDisplayAttributeNotifySink *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("void **")] void **ppvObject) { return(((delegate * unmanaged <ITypedEventHandler <TSender, TArgs> *, Guid *, void **, int>)(lpVtbl[0]))((ITypedEventHandler <TSender, TArgs> *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public virtual string Call(string name, IEnumerable <string> args, out NSJSException exception) { if (name == null) { throw new ArgumentNullException("name"); } if (name.Length <= 0) { throw new ArgumentException("name"); } NSJSException exception_info = null; string result = null; this.Executing <string>(() => { IList <GCHandle?> cookies = new List <GCHandle?>(256); IList <IntPtr> arguments = new List <IntPtr>(256); cookies.Add(GCHandle.Alloc(NSJSString.GetUTF8StringBuffer(name), GCHandleType.Pinned)); int argc = 0; if (args != null) { foreach (string s in args) { byte[] ch = null; if (s != null) { ch = NSJSString.GetUTF8StringBuffer(s); } if (s == null || ch.Length <= 0) { cookies.Add(null); arguments.Add(NULL); } else { GCHandle cookie = GCHandle.Alloc(ch, GCHandleType.Pinned); cookies.Add(cookie); arguments.Add(cookie.AddrOfPinnedObject()); } argc++; } } void **argv = null; if (argc > 0) { void **ppv = stackalloc void *[argc]; for (int i = 0; i < argc; i++) { ppv[i] = arguments[i].ToPointer(); } argv = ppv; } IntPtr chunk = nsjs_virtualmachine_call2(this.Handle, cookies[0].Value.AddrOfPinnedObject().ToPointer(), argc, argv, ref *this.exception); exception_info = NSJSException.From(this, this.exception); result = chunk != NULL ? new string((sbyte *)chunk.ToPointer()) : null; foreach (GCHandle?cookie in cookies) { if (cookie == null) { continue; } cookie.Value.Free(); } return(result); }); exception = exception_info; return(result); }
private extern static IntPtr nsjs_virtualmachine_call2([In] IntPtr machine, void *name, int argc, void **argv, ref NSJSStructural.NSJSExceptionInfo exception);
public int QueryInterface([NativeTypeName("const IID &")] Guid *riid, void **ppvObject) { return(((delegate * unmanaged <ILanguageExceptionTransform *, Guid *, void **, int>)(lpVtbl[0]))((ILanguageExceptionTransform *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public abstract unsafe void GetVariantPointer([Flow(FlowDirection.In)] uint id, [Flow(FlowDirection.In)] GetVariantValueEXT value, [Count(Computed = "id"), Flow(FlowDirection.Out)] void **data);
public int QueryInterface([NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("void **")] void **ppvObject) { return(((delegate * unmanaged <ICompositorDesktopInterop *, Guid *, void **, int>)(lpVtbl[0]))((ICompositorDesktopInterop *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public int QueryInterface([NativeTypeName("const IID &")] Guid *riid, void **ppvObject) { return(((delegate * unmanaged <ISpeechPhraseReplacement *, Guid *, void **, int>)(lpVtbl[0]))((ISpeechPhraseReplacement *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public unsafe int GetDataResourceForScale(int resource_id, CefScaleFactor scale_factor, void **data, UIntPtr *data_size) { fixed(cef_resource_bundle_handler_t *self = &this) { return(((delegate * unmanaged[Stdcall] < cef_resource_bundle_handler_t *, int, CefScaleFactor, void **, UIntPtr *, int >)get_data_resource_for_scale)(self, resource_id, scale_factor, data, data_size)); } }
public abstract unsafe void MultiDrawElementsBaseVertex([Flow(FlowDirection.In)] PrimitiveType mode, [Count(Computed = "drawcount"), Flow(FlowDirection.In)] uint *count, [Flow(FlowDirection.In)] DrawElementsType type, [Count(Computed = "drawcount"), Flow(FlowDirection.In)] void **indices, [Flow(FlowDirection.In)] uint primcount, [Count(Computed = "drawcount"), Flow(FlowDirection.In)] int *basevertex);
public HRESULT Compile([NativeTypeName("const DxcBuffer *")] DxcBuffer *pSource, [NativeTypeName("LPCWSTR *")] ushort **pArguments, [NativeTypeName("UINT32")] uint argCount, IDxcIncludeHandler *pIncludeHandler, [NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("LPVOID *")] void **ppResult) { return(((delegate * unmanaged <IDxcCompiler3 *, DxcBuffer *, ushort **, uint, IDxcIncludeHandler *, Guid *, void **, int>)(lpVtbl[3]))((IDxcCompiler3 *)Unsafe.AsPointer(ref this), pSource, pArguments, argCount, pIncludeHandler, riid, ppResult)); }
public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid *riid, void **ppvObject) { return(((delegate * unmanaged <ITfFnConfigureRegisterWord *, Guid *, void **, int>)(lpVtbl[0]))((ITfFnConfigureRegisterWord *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid *riid, void **ppvObject) { return(((delegate * unmanaged <IUnbufferedFileHandleOplockCallback *, Guid *, void **, int>)(lpVtbl[0]))((IUnbufferedFileHandleOplockCallback *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public int QueryInterface([NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("void **")] void **ppvObject) { return(((delegate * unmanaged <IMultisessionSequential2 *, Guid *, void **, int>)(lpVtbl[0]))((IMultisessionSequential2 *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public int QueryInterface([NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("void **")] void **ppvObject) { return(((delegate * stdcall <IPersist *, Guid *, void **, int>)(lpVtbl[0]))((IPersist *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public HRESULT GetUnknown([NativeTypeName("const GUID &")] Guid *guidKey, [NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("LPVOID *")] void **ppv) { return(((delegate * unmanaged <IMFStreamDescriptor *, Guid *, Guid *, void **, int>)(lpVtbl[17]))((IMFStreamDescriptor *)Unsafe.AsPointer(ref this), guidKey, riid, ppv)); }
public int QueryInterface([NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("void **")] void **ppvObject) { return(((delegate * unmanaged <IDxDiagProvider *, Guid *, void **, int>)(lpVtbl[0]))((IDxDiagProvider *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public int QueryInterface([NativeTypeName("const IID &")] Guid *riid, void **ppvObject) { return(((delegate * unmanaged <IMFContentProtectionDevice *, Guid *, void **, int>)(lpVtbl[0]))((IMFContentProtectionDevice *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public HRESULT QueryInterface([NativeTypeName("const IID &")] Guid *riid, void **ppvObject) { return(((delegate * unmanaged <IAppxManifestApplicationsEnumerator *, Guid *, void **, int>)(lpVtbl[0]))((IAppxManifestApplicationsEnumerator *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
public int QueryInterface([NativeTypeName("const IID &")] Guid *riid, [NativeTypeName("void **")] void **ppvObject) { return(((delegate * unmanaged <IDCompositionRotateTransform3D *, Guid *, void **, int>)(lpVtbl[0]))((IDCompositionRotateTransform3D *)Unsafe.AsPointer(ref this), riid, ppvObject)); }
static void InitSMT(Native aMaxItemSize) { mMaxItemSize = aMaxItemSize; mSMT = (void**)RAT.AllocBytes(RAT.PageType.HeapSmall, mMaxItemSize * (Native)sizeof(void*)); }
public HRESULT GetParent([NativeTypeName("const IID &")] Guid *riid, void **ppParent) { return(((delegate * unmanaged[Stdcall] < IDXGIFactory4 *, Guid *, void **, int >)(lpVtbl[6]))((IDXGIFactory4 *)Unsafe.AsPointer(ref this), riid, ppParent)); }