IUnknown class com
Enables clients to get pointers to other interfaces on a given object through the QueryInterface method, and manage the existence of the object through the AddRef and Release methods. All other COM interfaces are inherited, directly or indirectly, from IUnknown. Therefore, the three methods in IUnknown are the first entries in the vtable for every interface.
- Implementers
- IAgileObject
- IApplicationActivationManager
- IAppxFactory
- IAppxFile
- IAppxFilesEnumerator
- IAppxManifestApplication
- IAppxManifestApplicationsEnumerator
- IAppxManifestOSPackageDependency
- IAppxManifestPackageDependenciesEnumerator
- IAppxManifestPackageDependency
- IAppxManifestPackageId
- IAppxManifestProperties
- IAppxManifestReader
- IAppxManifestReader5
- IAppxManifestReader6
- IAppxManifestReader7
- IAppxPackageReader
- IAudioCaptureClient
- IAudioClient
- IAudioClientDuckingControl
- IAudioClock
- IAudioClock2
- IAudioClockAdjustment
- IAudioRenderClient
- IAudioSessionControl
- IAudioSessionManager
- IAudioStreamVolume
- IBindCtx
- IChannelAudioVolume
- IClassFactory
- IConnectionPoint
- IConnectionPointContainer
- IDesktopWallpaper
- IDispatch
- IEnumIDList
- IEnumMoniker
- IEnumResources
- IEnumSpellingError
- IEnumString
- IEnumVARIANT
- IEnumWbemClassObject
- IErrorInfo
- IFileDialogCustomize
- IFileIsInUse
- IInitializeWithWindow
- IInspectable
- IKnownFolder
- IKnownFolderManager
- IMetaDataAssemblyImport
- IMetaDataDispenser
- IMetaDataImport
- IMetaDataTables
- IMMDevice
- IMMDeviceCollection
- IMMDeviceEnumerator
- IMMEndpoint
- IMMNotificationClient
- IModalWindow
- INetworkListManagerEvents
- IPersist
- IPropertyStore
- IProvideClassInfo
- IRestrictedErrorInfo
- IRunningObjectTable
- ISensor
- ISensorCollection
- ISensorDataReport
- ISensorManager
- ISequentialStream
- IShellFolder
- IShellItem
- IShellItemArray
- IShellItemFilter
- IShellItemImageFactory
- IShellItemResources
- IShellLink
- IShellLinkDataList
- IShellService
- ISimpleAudioVolume
- ISpellChecker
- ISpellCheckerChangedEventHandler
- ISpellCheckerFactory
- ISpellingError
- ISpNotifySource
- ISupportErrorInfo
- ITypeInfo
- IUIAutomation
- IUIAutomationAnnotationPattern
- IUIAutomationCacheRequest
- IUIAutomationCondition
- IUIAutomationCustomNavigationPattern
- IUIAutomationDockPattern
- IUIAutomationDragPattern
- IUIAutomationDropTargetPattern
- IUIAutomationElement
- IUIAutomationElementArray
- IUIAutomationExpandCollapsePattern
- IUIAutomationGridItemPattern
- IUIAutomationGridPattern
- IUIAutomationInvokePattern
- IUIAutomationItemContainerPattern
- IUIAutomationLegacyIAccessiblePattern
- IUIAutomationMultipleViewPattern
- IUIAutomationObjectModelPattern
- IUIAutomationProxyFactory
- IUIAutomationProxyFactoryEntry
- IUIAutomationProxyFactoryMapping
- IUIAutomationRangeValuePattern
- IUIAutomationScrollItemPattern
- IUIAutomationScrollPattern
- IUIAutomationSelectionItemPattern
- IUIAutomationSelectionPattern
- IUIAutomationSpreadsheetItemPattern
- IUIAutomationSpreadsheetPattern
- IUIAutomationStylesPattern
- IUIAutomationSynchronizedInputPattern
- IUIAutomationTableItemPattern
- IUIAutomationTablePattern
- IUIAutomationTextChildPattern
- IUIAutomationTextPattern
- IUIAutomationTextRange
- IUIAutomationTextRangeArray
- IUIAutomationTogglePattern
- IUIAutomationTransformPattern
- IUIAutomationTreeWalker
- IUIAutomationValuePattern
- IUIAutomationVirtualizedItemPattern
- IUIAutomationWindowPattern
- IUri
- IVirtualDesktopManager
- IWbemClassObject
- IWbemConfigureRefresher
- IWbemContext
- IWbemHiPerfEnum
- IWbemLocator
- IWbemRefresher
- IWbemServices
Constructors
-
IUnknown(Pointer<
COMObject> ptr) - IUnknown.from(IUnknown interface)
-
factory
Properties
Methods
-
addRef(
) → int - Increments the reference count for an interface pointer to a COM object.
-
detach(
) → void -
Detaches the object from the
Finalizer
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
queryInterface(
Pointer< GUID> riid, Pointer<Pointer< ppvObject) → intNativeType> > - Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
-
release(
) → int - Decrements the reference count for an interface on a COM object.
-
toInterface(
String iid) → Pointer< COMObject> - Cast an existing COM object to a specified interface.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited