Description
This function sets the current default attributes to the initial standard default values.
This function is supported by the graphics engine.
#define INCL_GRE_DEVSUPPORT
#include <os2.h>
HDC hdc; /* Device context handle. */
ULONG flOptions; /* Option flags. */
PVOID pInstance; /* Pointer to instance data. */
ULONG lFunction; /* High-order WORD=flags; low-order WORD=NGreInitializeAttributes. */
BOOL fSuccess; /* Return codes. */
fSuccess = GreInitializeAttributes(hdc, flOptions,
pInstance, lFunction);