Supports the Windows Runtime C++ Template Library infrastructure and is not intended to be used directly from your code.
struct CreatorMap;Contains information about how to initialize, register, and unregister objects.
CreatorMap contains the following information:
-
How to initialize, register, and unregister objects.
-
How to compare activation data depending on a classic COM or Windows Runtime factory.
-
Information about the factory cache and server name for an interface.
CreatorMap
Header: module.h
Namespace: Microsoft::WRL::Details
Supports the WRL infrastructure and is not intended to be used directly from your code.
union {
const IID* clsid;
const wchar_t* (*getRuntimeName)();
} activationId;clsid
An interface ID.
getRuntimeName
A function that retrieves the Windows runtime name of an object.
Represents an object ID that is identified either by a classic COM class ID or a Windows runtime name.
Supports the WRL infrastructure and is not intended to be used directly from your code.
FactoryCache* factoryCache;Stores the pointer to the factory cache for the CreatorMap.
Supports the WRL infrastructure and is not intended to be used directly from your code.
HRESULT (*factoryCreator)(
unsigned int* currentflags,
const CreatorMap* entry,
REFIID iidClassFactory,
IUnknown** factory);currentflags
One of the RuntimeClassType enumerators.
entry
A CreatorMap.
iidClassFactory
The interface ID of a class factory.
factory
When the operation completes, the address of a class factory.
S_OK if successful; otherwise, an HRESULT that indicates the error.
Creates a factory for the specified CreatorMap.
Supports the WRL infrastructure and is not intended to be used directly from your code.
const wchar_t* serverName;Stores the server name for the CreatorMap.
