SelectClipPath function (wingdi.h)
The SelectClipPath function selects the current path as a clipping region for a device context, combining the new region with any existing clipping region using the specified mode.
BOOL SelectClipPath(
[in] HDC hdc,
[in] int mode
);
[in] hdc
A handle to the device context of the path.
[in] mode
The way to use the path. This parameter can be one of the following values.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
The device context identified by the hdc parameter must contain a closed path.
For an example, see Using Clipping.
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | wingdi.h (include Windows.h) |
Library | Gdi32.lib |
DLL | Gdi32.dll |