public unsafe void GetIids(ulong *iidCount, Guid **iids) { var interfaces = GetType().GetInterfaces().Where(typeof(IUnknown).IsAssignableFrom) .Select(MicroComRuntime.GetGuidFor).ToArray(); var mem = (Guid *)Marshal.AllocCoTaskMem(Unsafe.SizeOf <Guid>() * interfaces.Length); for (var c = 0; c < interfaces.Length; c++) { mem[c] = interfaces[c]; } *iids = mem; *iidCount = (ulong)interfaces.Length; }
public HRESULT GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IRadialControllerIndependentInputSourceInterop *, uint *, Guid **, int>)(lpVtbl[3]))((IRadialControllerIndependentInputSourceInterop *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public int GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <ICompositionCapabilitiesInteropFactory *, uint *, Guid **, int>)(lpVtbl[3]))((ICompositionCapabilitiesInteropFactory *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public int GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IDragDropManagerInterop *, uint *, Guid **, int>)(lpVtbl[3]))((IDragDropManagerInterop *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public HRESULT GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IHolographicQuadLayerUpdateParametersInterop *, uint *, Guid **, int>)(lpVtbl[3]))((IHolographicQuadLayerUpdateParametersInterop *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public int GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IObservableMap <K, V> *, uint *, Guid **, int>)(lpVtbl[3]))((IObservableMap <K, V> *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public HRESULT GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IProtectionPolicyManagerInterop *, uint *, Guid **, int>)(lpVtbl[3]))((IProtectionPolicyManagerInterop *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public HRESULT GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <ICorrelationVectorInformation *, uint *, Guid **, int>)(lpVtbl[3]))((ICorrelationVectorInformation *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public HRESULT GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IKeyValuePair <K, V> *, uint *, Guid **, int>)(lpVtbl[3]))((IKeyValuePair <K, V> *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public int GetProtectionSystemIds([NativeTypeName("GUID **")] Guid **systemIds, [NativeTypeName("DWORD *")] uint *count) { return(((delegate * unmanaged <IMFContentDecryptionModule *, Guid **, uint *, int>)(lpVtbl[9]))((IMFContentDecryptionModule *)Unsafe.AsPointer(ref this), systemIds, count)); }
public HRESULT GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) { return ((delegate* unmanaged<IUserActivitySourceHostInterop*, uint*, Guid**, int>)(lpVtbl[3]))((IUserActivitySourceHostInterop*)Unsafe.AsPointer(ref this), iidCount, iids); }
public int GetIIDFromOBJREF([NativeTypeName("void *")] void *pObjRef, [NativeTypeName("IID **")] Guid **piid) { return(((delegate * stdcall <IRpcHelper *, void *, Guid **, int>)(lpVtbl[4]))((IRpcHelper *)Unsafe.AsPointer(ref this), pObjRef, piid)); }
public int GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IHolographicCameraRenderingParametersInterop *, uint *, Guid **, int>)(lpVtbl[3]))((IHolographicCameraRenderingParametersInterop *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public HRESULT GetFolderIds([NativeTypeName("KNOWNFOLDERID **")] Guid **ppKFId, uint *pCount) { return(((delegate * unmanaged <IKnownFolderManager *, Guid **, uint *, int>)(lpVtbl[5]))((IKnownFolderManager *)Unsafe.AsPointer(ref this), ppKFId, pCount)); }
public HRESULT GetIIDFromOBJREF(void *pObjRef, [NativeTypeName("IID **")] Guid **piid) { return(((delegate * unmanaged <IRpcHelper *, void *, Guid **, int>)(lpVtbl[4]))((IRpcHelper *)Unsafe.AsPointer(ref this), pObjRef, piid)); }
public int GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IAsyncActionWithProgress <TProgress> *, uint *, Guid **, int>)(lpVtbl[3]))((IAsyncActionWithProgress <TProgress> *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public HRESULT GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IContentPrefetcherTaskTrigger *, uint *, Guid **, int>)(lpVtbl[3]))((IContentPrefetcherTaskTrigger *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public int SetValueWithNotify([NativeTypeName("const GUID *")] Guid *Api, [NativeTypeName("VARIANT *")] VARIANT *Value, [NativeTypeName("GUID **")] Guid **ChangedParam, [NativeTypeName("ULONG *")] uint *ChangedParamCount) { return(((delegate * unmanaged <ICodecAPI *, Guid *, VARIANT *, Guid **, uint *, int>)(lpVtbl[13]))((ICodecAPI *)Unsafe.AsPointer(ref this), Api, Value, ChangedParam, ChangedParamCount)); }
public HRESULT GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IVectorChangedEventArgs *, uint *, Guid **, int>)(lpVtbl[3]))((IVectorChangedEventArgs *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public int SetAllDefaultsWithNotify([NativeTypeName("GUID **")] Guid **ChangedParam, [NativeTypeName("ULONG *")] uint *ChangedParamCount) { return(((delegate * unmanaged <ICodecAPI *, Guid **, uint *, int>)(lpVtbl[14]))((ICodecAPI *)Unsafe.AsPointer(ref this), ChangedParam, ChangedParamCount)); }
public HRESULT FindClosestCategory([NativeTypeName("const GUID &")] Guid *rguid, Guid *pcatid, [NativeTypeName("const GUID **")] Guid **ppcatidList, [NativeTypeName("ULONG")] uint ulCount) { return(((delegate * unmanaged <ITfCategoryMgr *, Guid *, Guid *, Guid **, uint, int>)(lpVtbl[7]))((ITfCategoryMgr *)Unsafe.AsPointer(ref this), rguid, pcatid, ppcatidList, ulCount)); }
public int SetAllSettingsWithNotify([NativeTypeName("IStream *")] IStream *__MIDL__ICodecAPI0002, [NativeTypeName("GUID **")] Guid **ChangedParam, [NativeTypeName("ULONG *")] uint *ChangedParamCount) { return(((delegate * unmanaged <ICodecAPI *, IStream *, Guid **, uint *, int>)(lpVtbl[17]))((ICodecAPI *)Unsafe.AsPointer(ref this), __MIDL__ICodecAPI0002, ChangedParam, ChangedParamCount)); }
public int GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IRadialControllerConfigurationInterop *, uint *, Guid **, int>)(lpVtbl[3]))((IRadialControllerConfigurationInterop *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public int GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IVideoFrameNativeFactory *, uint *, Guid **, int>)(lpVtbl[3]))((IVideoFrameNativeFactory *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public int GetIids([NativeTypeName("ULONG *")] uint* iidCount, [NativeTypeName("IID **")] Guid** iids) { return ((delegate* unmanaged<ISystemMediaTransportControlsInterop*, uint*, Guid**, int>)(lpVtbl[3]))((ISystemMediaTransportControlsInterop*)Unsafe.AsPointer(ref this), iidCount, iids); }
public HRESULT GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <IAsyncOperation <TResult> *, uint *, Guid **, int>)(lpVtbl[3]))((IAsyncOperation <TResult> *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public int GetIids([NativeTypeName("ULONG *")] uint *iidCount, [NativeTypeName("IID **")] Guid **iids) { return(((delegate * unmanaged <ISoftwareBitmapNative *, uint *, Guid **, int>)(lpVtbl[3]))((ISoftwareBitmapNative *)Unsafe.AsPointer(ref this), iidCount, iids)); }
public int GetTextAndPropertyUpdates([NativeTypeName("DWORD")] uint dwFlags, [NativeTypeName("const GUID **")] Guid **prgProperties, [NativeTypeName("ULONG")] uint cProperties, IEnumTfRanges **ppEnum) { return(((delegate * unmanaged <ITfEditRecord *, uint, Guid **, uint, IEnumTfRanges **, int>)(lpVtbl[4]))((ITfEditRecord *)Unsafe.AsPointer(ref this), dwFlags, prgProperties, cProperties, ppEnum)); }
public int GetPackageTargetTypes([NativeTypeName("UINT32 *")] uint *targetCount, [NativeTypeName("GUID **")] Guid **targetTypes) { return(((delegate * unmanaged <IPrintDocumentPackageTarget *, uint *, Guid **, int>)(lpVtbl[3]))((IPrintDocumentPackageTarget *)Unsafe.AsPointer(ref this), targetCount, targetTypes)); }
public int TrackProperties([NativeTypeName("const GUID **")] Guid **prgProp, [NativeTypeName("ULONG")] uint cProp, [NativeTypeName("const GUID **")] Guid **prgAppProp, [NativeTypeName("ULONG")] uint cAppProp, [NativeTypeName("ITfReadOnlyProperty **")] ITfReadOnlyProperty **ppProperty) { return(((delegate * unmanaged <ITfContext *, Guid **, uint, Guid **, uint, ITfReadOnlyProperty **, int>)(lpVtbl[14]))((ITfContext *)Unsafe.AsPointer(ref this), prgProp, cProp, prgAppProp, cAppProp, ppProperty)); }