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 "GetWindowsDirectory" in [All]

shell32

.

            CSIDL_WINDOWS           = 0x0024,    // GetWindowsDirectory()

.

        CSIDL_WINDOWS         = 0x0024,    // GetWindowsDirectory()

.

        CSIDL_WINDOWS       = 0x0024,    // GetWindowsDirectory()

setupapi

.

   if (0 == GetWindowsDirectory(winDir, winDir.Capacity)) return (false);

kernel32

.
Summary
.

static extern uint GetWindowsDirectory(StringBuilder lpBuffer,

.

<DllImport("kernel32.dll", SetLastError:=true, EntryPoint:="GetWindowsDirectoryW", CharSet:=CharSet.Unicode)> _

.

Public Function GetWindowsDirectory(<MarshalAs(UnmanagedType.LPTSTR)>lpBuffer As System.Text.StringBuilder, _

.

Declare Function GetWindowsDirectory Lib "kernel32" Alias "GetWindowsDirectoryA" _

.

   Dim Res As Integer = GetWindowsDirectory(WinDir, WinDir.Length)

.

     GetWindowsDirectory(sb,i)

.

   int len = (int)GetWindowsDirectory(sb, MaxPathLength);

.

     GetWindowsDirectory(sb,ref  i);

.
Documentation
[GetWindowsDirectory] on MSDN

 
Access PInvoke.net directly from VS: