Kiwano Engine  v1.2.x
kiwano::NativePtr类 参考

静态 Public 成员函数

template<typename _Ty , typename = typename std::enable_if<std::is_base_of<IUnknown, _Ty>::value, int>::type>
static ComPtr< _Ty > Get (const NativeObject *object)
 
template<typename _Ty >
static ComPtr< _Ty > Get (const NativeObject &object)
 
template<typename _Ty >
static ComPtr< _Ty > Get (NativeObjectPtr object)
 
static void Set (NativeObject *object, ComPtr< IUnknown > com_ptr)
 
static void Set (NativeObject &object, ComPtr< IUnknown > com_ptr)
 
static void Set (NativeObjectPtr object, ComPtr< IUnknown > com_ptr)