共用方式為


gdiplusinit.h 標頭

GDI+會使用此標頭。 如需詳細資訊,請參閱

gdiplusinit.h 包含下列程式設計介面:

函式

 
GdiplusShutdown

GdiplusShutdown 函式會清除 Windows GDI+所使用的資源。 對 GdiplusStartup 的每個呼叫都應該與對 GdiplusShutdown 的呼叫配對。
GdiplusStartup

GdiplusStartup 函式會初始化 Windows GDI+。 在進行任何其他 GDI+ 呼叫之前呼叫 GdiplusStartup,並在您使用 GDI+ 完成時呼叫 GdiplusShutdown。

回呼函式

 
DebugEventProc

*DebugEventProc* 是您在應用程式中實作的回呼函式簽章,並傳遞至 GdiplusStartupInput的建構函式。
NotificationHookProc

*NotificationHookProc* 是GdiplusStartup 在 GdiplusStartupOutput結構中傳回的通知攔截函式簽章。
NotificationUnhookProc

*NotificationUnhookProc* 是GdiplusStartup 在 GdiplusStartupOutput結構中傳回之通知 unhook 函式的簽章。

結構

 
GdiplusStartupInput

GdiplusStartupInput結構會保存GdiplusStartup函式所需的引數區塊。
GdiplusStartupInputEx

GdiplusStartupInputEx結構會保存GdiplusStartup函式所需的引數區塊。
GdiplusStartupOutput

GdiplusStartup 函式會使用 GdiplusStartupOutput 結構傳回其輸出參數中的 (,) 勾點函式的指標和 unhook 函式的指標。

列舉

 
DebugEventLevel

定義常數,指定偵錯事件層級。
GdiplusStartupParams

定義常數,指定啟動的參數。