initgraph (Compatible with Turbo C)

The function is used to initialize the graphics window.

HWND initgraph(
	int* gdriver,
	int* gmode,
	char* path
);

Parameters

gdriver

None

gmode

None

path

None

Return Value

Returns the handle of the graphics window created.

Remarks

The function is an overload function, declared in graphics.h and is used to be compatible with function of the same name in Turbo C, equivalent to executing the setlinecolor and settextcolor functions in turn in easyx.h.

Examples

None