Partager via


CreatorMap::factoryCreator Data Member

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CreatorMap::factoryCreator Data Member.

Supports the WRL infrastructure and is not intended to be used directly from your code.

Syntax

HRESULT (*factoryCreator)(  
   unsigned int* currentflags,  
   const CreatorMap* entry,  
   REFIID iidClassFactory,  
 IUnknown** factory);  

Parameters

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.

Return Value

S_OK if successful; otherwise, an HRESULT that indicates the error.

Remarks

Creates a factory for the specified CreatorMap.

Requirements

Header: module.h

Namespace: Microsoft::WRL::Details

See Also

CreatorMap Structure
Microsoft::WRL::Details Namespace