Region::Region (HRGN) 方法 (gdiplusheaders.h)

建立與 Windows Graphics Device Interface (GDI) 區域的控制碼所指定的區域相同區域。

語法

void Region(
  [in] HRGN hRgn
);

參數

[in] hRgn

類型: HRGN

處理現有的 GDI 區域。

傳回值

需求

   
最低支援的用戶端 Windows XP、Windows 2000 Professional [僅限傳統型應用程式]
最低支援的伺服器 Windows 2000 Server [僅限傳統型應用程式]
目標平台 Windows
標頭 gdiplusheaders.h (包含 Gdiplus.h)
程式庫 Gdiplus.lib
Dll Gdiplus.dll