summaryrefslogtreecommitdiff
path: root/setup/devcon/devcon.h
diff options
context:
space:
mode:
authorWei Mao <[email protected]>2017-03-21 13:01:45 -0700
committerWei Mao <[email protected]>2017-03-21 13:02:08 -0700
commitf36ae05fadd28e7f355297fd5f48177d9b68fbdc (patch)
tree60fd273cef3ff7875b8dc61094213e5e170ca32a /setup/devcon/devcon.h
parente044ea456aad4c444fbce00a2d9b56b304d59884 (diff)
parent3e230151ec6c58be8c7e65082a5f75e1652526d5 (diff)
Merge pull request #103 from FaraSeer/devcon_unicode
Diffstat (limited to 'setup/devcon/devcon.h')
-rw-r--r--setup/devcon/devcon.h8
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);