Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Determines if a specific interface is defined in the class.
HRESULT DoesInterfaceExist(
LPCOLESTR pszInterfaceName
);
int DoesInterfaceExist(
[In] string pszInterfaceName
);
Parameters
- pszInterfaceName
[in] A string containing the interface name to look for.
Return Value
If successful, returns S_OK, returns S_FALSE if the interface does not exist; otherwise, returns an error code.
Remarks
This method in effect gets an enumeration of all interfaces and searches the list for a matching interface.