IWbemLocator class com

Use the IWbemLocator interface to obtain the initial namespace pointer to the IWbemServices interface for WMI on a specific host computer. You can access Windows Management itself using the IWbemServices pointer, which is returned by the IWbemLocator::ConnectServer method.

Inheritance
Implementers

Constructors

IWbemLocator(Pointer<COMObject> ptr)
IWbemLocator.from(IUnknown interface)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
ptr Pointer<COMObject>
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addRef() int
Increments the reference count for an interface pointer to a COM object.
inherited
connectServer(Pointer<Utf16> strNetworkResource, Pointer<Utf16> strUser, Pointer<Utf16> strPassword, Pointer<Utf16> strLocale, int lSecurityFlags, Pointer<Utf16> strAuthority, Pointer<COMObject> pCtx, Pointer<Pointer<COMObject>> ppNamespace) int
detach() → void
Detaches the object from the Finalizer.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
queryInterface(Pointer<GUID> riid, Pointer<Pointer<NativeType>> ppvObject) int
Queries a COM object for a pointer to one of its interface; identifying the interface by a reference to its interface identifier (IID).
inherited
release() int
Decrements the reference count for an interface on a COM object.
inherited
toInterface(String iid) Pointer<COMObject>
Cast an existing COM object to a specified interface.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited