Requirements
Runs on Versions Defined in Include Link to
Windows CE OS 2.12 and later Winuser.h Winmgr.lib
This function sets the window region of a window. The window region determines the area within the window where the system permits drawing. The system does not display any portion of a window that lies outside of the window region
int SetWindowRgn(
HWND hWnd,
HRGN hRgn,
BOOL bRedraw
);