Interface IStandard
interface IStandard
The base interface of all interfaces.
Methods
addRef()
void addRef()
Add a reference count to this interface.
release()
void release()
Release a reference count from this interface.
tryQueryInterface()
Obtain an interface handle on the current object. See QiFlags above for descriptions of flags callers can pass to this method to modify its behavior.IStandard?tryQueryInterface(stringinterfaceName,i32hash,i32flags)
Parameters
interfaceName
string — Required
fully-qualified name of the interface
hash
i32 — Required
hash of the desired interface
flags
i32 — Required
flags from QiFlags
Returns
IStandard?
The return value is optional and might be absent.
Interface handle if object has interface; nullptr otherwise
Throws
AbiBreakError— on interface hash mismatch (potentially modified by flags)

