Skip to content
This repository was archived by the owner on Jan 13, 2024. It is now read-only.

Commit 0a0174f

Browse files
authored
Merge pull request #87 from Fruchtzwerg94/patch-1
Added GetPrivateProfileString Win function
2 parents 6cc1064 + 07312a5 commit 0a0174f

File tree

1 file changed

+3
-0
lines changed
  • Visual Studio Project Template C#/PluginInfrastructure

1 file changed

+3
-0
lines changed

Visual Studio Project Template C#/PluginInfrastructure/Win32.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,9 @@ public static IntPtr SendMessage(IntPtr hWnd, uint Msg, int wParam, ref LangType
279279
[DllImport("kernel32")]
280280
public static extern int GetPrivateProfileInt(string lpAppName, string lpKeyName, int nDefault, string lpFileName);
281281

282+
[DllImport("kernel32")]
283+
public static extern int GetPrivateProfileString(string lpAppName, string lpKeyName, string lpDefault, StringBuilder lpReturnedString, int nSize, string lpFileName);
284+
282285
[DllImport("kernel32")]
283286
public static extern bool WritePrivateProfileString(string lpAppName, string lpKeyName, string lpString, string lpFileName);
284287

0 commit comments

Comments
 (0)