Added missing DllImport attribute.

Fixes thefiddler/opentk#1
This commit is contained in:
thefiddler 2013-10-12 19:43:26 +02:00
parent 915ead34cb
commit 4dfcf39d26

View file

@ -1526,6 +1526,7 @@ namespace OpenTK.Platform.Windows
REGSAM samDesired,
out PHKEY phkResult);
[DllImport("Advapi32.dll")]
internal static extern int RegGetValue(
HKEY hkey,
[MarshalAs(UnmanagedType.LPTStr)] LPCTSTR lpSubKey,