Source position: jwawinuser.pas line 1577
function CreateDesktop(
lpszDesktop: LPCTSTR;
lpszDevice: LPCTSTR;
pDevmode: LPDEVMODE;
dwFlags: DWORD;
dwDesiredAccess: ACCESS_MASK;
lpsa: LPSECURITY_ATTRIBUTES
):HDESK;