最終更新:2021-10-09 (土) 07:55:18 (1255d)
なんとかA
Top / なんとかA
例
#ifdef UNICODE #define GetModuleHandle GetModuleHandleW #else #define GetModuleHandle GetModuleHandleA #endif
A
W
.NET
https://docs.microsoft.com/ja-jp/dotnet/framework/interop/specifying-a-character-set
[DllImport("kernel32.dll", CharSet=CharSet.Auto)] public static extern IntPtr GetModuleHandle(string lpModuleName);
メモ
- Windows 9x? (基本的にA、一部Wも対応)
- Windows NT (A、W両対応)
- Windows CE (Wのみ対応)