Skip to content

Latest commit

 

History

History
69 lines (54 loc) · 2.35 KB

nf-gdiplusinit-gdiplusstartupinput-gdiplusstartupinput.md

File metadata and controls

69 lines (54 loc) · 2.35 KB
UID title ms.date targetos description tech.root req.assembly req.construct-type req.ddi-compliance req.dll req.header req.idl req.include-header req.irql req.kmdf-ver req.lib req.max-support req.namespace req.redist req.target-min-winverclnt req.target-min-winversvr req.target-type req.type-library req.umdf-ver req.unicode-ansi topic_type api_type api_location api_name f1_keywords dev_langs
NF:gdiplusinit.GdiplusStartupInput.GdiplusStartupInput
GdiplusStartupInput::GdiplusStartupInput
05/07/2020
Windows
Constructor for the [**GdiplusStartupInput**]() structure.
gdiplus
function
gdiplusinit.h
Windows 10 Build 20348
Windows 10 Build 20348
apiref
gdiplusinit.h
GdiplusStartupInput::GdiplusStartupInput
GdiplusStartupInput::GdiplusStartupInput
gdiplusinit/GdiplusStartupInput::GdiplusStartupInput
c++

-description

Constructor for the GdiplusStartupInput structure.

The constructor sets the GdiplusVersion member to 1. All of the constructor parameters are optional, so you can declare a variable of type GdiplusStartupInput without passing any arguments to the constructor, and all of the members will be initialized with appropriate default values.

-parameters

-param debugEventCallback

Type: DebugEventProc

Pointer to your DebugEventProc callback function, which GDI+ can call on debug builds for assertions and warnings. The default value is NULL.

-param suppressBackgroundThread

Type: BOOL

Boolean value that specifies whether to suppress the GDI+ background thread. If you pass TRUE, then GdiplusStartup returns (in its output parameter) a pointer to a hook function, and a pointer to an unhook function. You must call those functions appropriately to replace the background thread. If you don't want to be responsible for calling the hook and unhook functions, then set this member to FALSE. The default value is FALSE.

-param suppressExternalCodecs

Type: BOOL

Boolean value that specifies whether you want GDI+ to suppress external image codecs. GDI+ version 1.0 doesn't support external image codecs, so this parameter is ignored. The default value is FALSE.

-remarks

-see-also