Nevron .NET Vision
Nevron.Interop.Win32 Namespace / NKernel32 Class / GetWindowsDirectory Method


In This Topic
    GetWindowsDirectory Method
    In This Topic
    Syntax
    'Declaration
     
    
    <System.Security.SuppressUnmanagedCodeSecurityAttribute()>
    Public Shared Function GetWindowsDirectory( _
       ByVal buffer As System.Text.StringBuilder, _
       ByVal size As System.Integer _
    ) As System.Integer
    'Usage
     
    
    Dim buffer As System.Text.StringBuilder
    Dim size As System.Integer
    Dim value As System.Integer
     
    value = NKernel32.GetWindowsDirectory(buffer, size)
    [System.Security.SuppressUnmanagedCodeSecurity()]
    public static System.int GetWindowsDirectory( 
       out System.Text.StringBuilder buffer,
       System.int size
    )

    Parameters

    buffer
    size
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also