2013年9月12日 星期四

CoCreateInstance

CoCreateInstance介紹:

HRESULT CoCreateInstance(
  _In_   REFCLSID rclsid,                 //
The CLSID associated with the data and code that will be used to create the object.
  _In_   LPUNKNOWN pUnkOuter,    //If NULL, indicates that the object is not being created as part of an aggregate.
  _In_   DWORD dwClsContext,
  _In_   REFIID riid,                          //
A reference to the identifier of the interface to be used to communicate with the object.  _Out_
  LPVOID *ppv
);


CoCreateInstance function

COM筆記-CoCreateInstance

(C++) 模擬 CoCreateInstance( ),不用註冊 COM 即可使用

沒有留言:

張貼留言