From 0fcda712a220abea5dc7a6e60c4f406ca14d34dc Mon Sep 17 00:00:00 2001 From: Wei Mao Date: Tue, 21 Mar 2017 06:44:26 -0700 Subject: Add cmdline option -u for Unicode (UTF-16) output --- setup/devcon/devcon.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'setup/devcon/devcon.h') diff --git a/setup/devcon/devcon.h b/setup/devcon/devcon.h index 6dd1ba2f..d7034004 100644 --- a/setup/devcon/devcon.h +++ b/setup/devcon/devcon.h @@ -25,6 +25,8 @@ Abstract: #include #include #include +#include +#include #include "msg.h" #include "rc_ids.h" @@ -63,9 +65,9 @@ extern DispatchEntry DispatchTable[]; void FormatToStream(_In_ FILE * stream, _In_ DWORD fmt,...); void Padding(_In_ int pad); bool SplitCommandLine( - _In_ int & argc, - _In_reads_(argc) LPTSTR * & argv, - _Out_ int & argc_right, + _In_ int & argc, + _In_reads_(argc) LPTSTR * & argv, + _Out_ int & argc_right, _Outref_result_buffer_(argc_right) LPTSTR * & argv_right); int EnumerateDevices(_In_ LPCTSTR BaseName, _In_opt_ LPCTSTR Machine, _In_ DWORD Flags, _In_ int argc, _In_reads_(argc) PWSTR* argv, _In_ CallbackFunc Callback, _In_ LPVOID Context); LPTSTR GetDeviceStringProperty(_In_ HDEVINFO Devs, _In_ PSP_DEVINFO_DATA DevInfo, _In_ DWORD Prop); -- cgit v1.3.1