Share via


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.

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

Reference

AFX_GLOBAL_DATA Structure