Export (0) Print
Expand All

PaintDesktop function

The PaintDesktop function fills the clipping region in the specified device context with the desktop pattern or wallpaper. The function is provided primarily for shell desktops.

Syntax


BOOL PaintDesktop(
  _In_  HDC hdc
);

Parameters

hdc [in]

Handle to the device context.

Return value

If the function succeeds, the return value is nonzero.

If the function fails, the return value is zero.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

Library

User32.lib

DLL

User32.dll

See also

Painting and Drawing Overview
Painting and Drawing Functions

 

 

Community Additions

ADD
Show:
© 2014 Microsoft