diff options
| author | Wei Mao <[email protected]> | 2017-03-21 06:44:26 -0700 |
|---|---|---|
| committer | Wei Mao <[email protected]> | 2017-03-21 06:49:43 -0700 |
| commit | 0fcda712a220abea5dc7a6e60c4f406ca14d34dc (patch) | |
| tree | ef033bf9d5b601b72976d0300dbd7041ad36ae78 /setup/devcon/devcon.h | |
| parent | de981510f34192ff725f68130f99a99e5fa0e200 (diff) | |
Add cmdline option -u for Unicode (UTF-16) output
Diffstat (limited to 'setup/devcon/devcon.h')
| -rw-r--r-- | setup/devcon/devcon.h | 8 |
1 files changed, 5 insertions, 3 deletions
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 <newdev.h> #include <objbase.h> #include <strsafe.h> +#include <io.h> +#include <fcntl.h> #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); |
