Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "createdesktop" in [All]

user32

. .
Summary
.

     // ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WIN32COM.v10.en/dllproc/base/createdesktop.htm

.

    [DllImport("user32.dll", EntryPoint="CreateDesktop", CharSet=CharSet.Unicode, SetLastError=true)]

.

    public static extern IntPtr CreateDesktop(

.

    ' ms-help://MS.VSCC.v80/MS.MSDN.v80/MS.WIN32COM.v10.en/dllproc/base/createdesktop.htm

.

    <DllImport("user32.dll", EntryPoint:="CreateDesktop", CharSet:=CharSet.Unicode, SetLastError:=True)> _

.

    Public Shared Function CreateDesktop(ByVal desktopName As String, ByVal device As String,

.

    static extern IntPtr CreateDesktop(..., [In] ref SECURITY_ATTRIBUTES lpsa);

.

cf. http://stackoverflow.com/questions/1434363/pinvoke-createdesktop

.
Documentation
[CreateDesktop] on MSDN
.

    WINSTA_CREATEDESKTOP    = 0x0008,

.

                    WINSTA_CREATEDESKTOP | WINSTA_WRITEATTRIBUTES | WINSTA_ACCESSGLOBALATOMS |

Enums

.

    WINSTA_CREATEDESKTOP = 0x00000008,

.

    WINSTA_CREATEDESKTOP = &H8


 
Access PInvoke.net directly from VS: