Export (0) Print
Expand All

GdiplusShutdown function

Applies to: desktop apps only

The GdiplusShutdown function cleans up resources used by Windows GDI+. Each call to GdiplusStartup should be paired with a call to GdiplusShutdown.

Syntax

void GdiplusShutdown(
  __in  ULONG_PTR token
);

Parameters

token [in]

Type: ULONG_PTR

Token returned by a previous call to GdiplusStartup.

Return value

This function does not return a value.

Remarks

You must call GdiplusStartup before you create any GDI+ objects, and you must delete all of your GDI+ objects (or have them go out of scope) before you call GdiplusShutdown.

Examples

For an example of calling GdiplusStartup and GdiplusShutdown, see GdiplusStartup.

Requirements

Minimum supported client

Windows XP, Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Product

GDI+ 1.0

Header

Gdiplusinit.h (include Gdiplus.h)

Library

Gdiplus.lib

DLL

Gdiplus.dll

See also

GdiplusStartup
GdiplusStartupInput
GdiplusStartupOutput
Getting Started

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2014 Microsoft