Share via


CreatorMap::factoryCreator Data Member

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);

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

Reference

CreatorMap Structure

Microsoft::WRL::Details Namespace