Fixed PInvokeData attribute on GetCommandLIne

pull/83/head
David Hall 2019-08-27 12:26:55 -06:00
parent ddcd9da017
commit 46b2f5aad1
1 changed files with 1 additions and 0 deletions

View File

@ -360,6 +360,7 @@ namespace Vanara.PInvoke
public static extern bool SetStdHandleEx(StdHandleType nStdHandle, HFILE hHandle, out HFILE phPrevValue);
[DllImport(Lib.Kernel32, SetLastError = false, EntryPoint = "GetCommandLine", CharSet = CharSet.Auto)]
[PInvokeData("WinBase.h", MSDNShortId = "ms683156")]
private static extern IntPtr GetCommandLineInternal();
[DllImport(Lib.Kernel32, SetLastError = false, EntryPoint = "GetEnvironmentStrings", CharSet = CharSet.Auto)]