## Presentation Device Driver Reference for OS/2

[prev][next][parent][TOC]

### GreInitializeAttributes - Parameters

hdc (HDC) - input Device context handle.

flOptions (ULONG) - input Option flags.

Valid flags are:

INAT_DEFAULTATTRIBUTES When set, all the current default attributes are set to their initial standard default values.

INAT_CURRENTATTRIBUTES When set, all the current attributes are set to their current default values.

Note that when both flags are set, INAT_DEFAULTATTRIBUTES is processed first.

pInstance (PVOID) - input Pointer to instance data.

lFunction (ULONG) - input High-order WORD=flags; low-order WORD= NGreInitializeAttributes.

fSuccess (BOOL) - returns Return codes.

On completion, the handling routine must return BOOLEAN (fSuccess).

TRUE Successful
FALSE Error