Anteckning
Å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.
Retreives a cache of class factories.
HRESULT GetClassObject(
REFCLSID clsid,
REFIID riid,
_Deref_out_ void **ppv,
wchar_t* serverName = nullptr
);
clsid
Class ID.riid
Interface ID that you request.ppv
Pointer to returned object.serverName
The server name that is specified in either the ActivatableClassWithFactory, ActivatableClassWithFactoryEx, or ActivatableClass macro; or nullptr to get the default server name.
Use this method only for COM, not the Windows Runtime. This method exposes only IClassFactory methods.
Header: module.h
Namespace: Microsoft::WRL