Nevron.Interop.Win32 Namespace / NKernel32 Class / GetModuleFileName Method


GetModuleFileName Method
Syntax
'Declaration
 
<System.Security.SuppressUnmanagedCodeSecurityAttribute()>
Public Shared Function GetModuleFileName( _
   ByVal module As System.IntPtr, _
   ByVal fileName As System.Text.StringBuilder, _
   ByVal size As System.Integer _
) As System.Integer
 
'Usage
 
Dim module As System.IntPtr
Dim fileName As System.Text.StringBuilder
Dim size As System.Integer
Dim value As System.Integer
 
value = NKernel32.GetModuleFileName(module, fileName, size)

Parameters

module
fileName
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