[DllImport("kernel32.dll", SetLastError=true)]
public static extern int GetSystemWow64Directory([In, Out] char[] lpBuffer, [MarshalAs(UnmanagedType.U4)] uint size);
Declare Function GetSystemWow64Directory Lib "kernel32.dll" (TODO) As TODO
None.
Do you know one? Please contribute it!
None.
Please add some!
[DllImport("Kernel32.dll")]
public static extern int GetSystemWow64Directory([In, Out] char[] lpBuffer, [MarshalAs(UnmanagedType.U4)] uint size);
char[] path = new char[256];
int result = GetSystemWow64Directory(path, (uint)path.Length);
if (result != 0)
MessageBox.Show(new String(path));