Supports - C++ Builder

2022-05-08  本文已影响0人  玄坴

C++ Builder 参考手册System::SysutilsSupports


判断组件是否支持某个接口,如果支持,返回这个接口指针

头文件:#include <System.SysUtils.hpp>
命名空间:System::Sysutils
函数原型:

bool __fastcall Supports(const System::_di_IInterface Instance, const GUID &IID, void *Intf);
bool __fastcall Supports(System::TObject *const Instance, const GUID &IID, void *Intf);
bool __fastcall Supports(const System::_di_IInterface Instance, const GUID &IID);
bool __fastcall Supports(System::TObject *const Instance, const GUID &IID);
bool __fastcall Supports(const System::TClass AClass, const GUID &IID);

参数:

返回值:


相关:


C++ Builder 参考手册System::SysutilsSupports

上一篇下一篇

猜你喜欢

热点阅读