AFX_GLOBAL_DATA::GetWriteFactory

 

Returns a pointer to the IDWriteFactory interface that is stored in the global data. If the interface is not initialized, it is created and has the default parameters.

Syntax

IDWriteFactory* GetWriteFactory();

Return Value

A pointer to IDWriteFactory interface if creation of a factory succeeds, or NULL if creation fails or current Operation System don't have DirectWrite support.

Requirements

Header: afxglobals.h

See Also

AFX_GLOBAL_DATA Structure