FactoryCache Structure

Supports the Windows Runtime C++ Template Library infrastructure and is not intended to be used directly from your code.

Syntax

struct FactoryCache;

Remarks

Contains the location of a class factory and a value that identifies a registered wrt or COM class object.

Members

Public Data Members

Name Description
FactoryCache::cookie Contains a value that identifies a registered Windows Runtime or COM class object, and is later used to unregister the object.
FactoryCache::factory Points to a Windows Runtime or COM class factory.

Inheritance Hierarchy

FactoryCache

Requirements

Header: module.h

Namespace: Microsoft::WRL::Details

Supports the Windows Runtime C++ Template Library infrastructure and is not intended to be used directly from your code.

union {
   WINRT_REGISTRATION_COOKIE winrt;
   DWORD com;
} cookie;

Remarks

Contains a value that identifies a registered Windows Runtime or COM class object, and is later used to unregister the object.

FactoryCache::factory

Supports the Windows Runtime C++ Template Library infrastructure and is not intended to be used directly from your code.

IUnknown* factory;

Remarks

Points to a Windows Runtime or COM class factory.