DSNCmdEngine.h
Go to the documentation of this file.
1 #pragma once
2 
4 {
5 public:
7  TCLAP::CmdLine _cmd;
9  TCLAP::SwitchArg _nologo;
11  TCLAP::UnlabeledValueArg<std::wstring> _operation;
13  TCLAP::UnlabeledMultiArg<std::wstring> _params;
15  TCLAP::SwitchArg _system;
16  TCLAP::SwitchArg _user;
18  TCLAP::ValueArg<std::wstring> _driver;
19 public:
20  DSNCmdEngine(int argc, wchar_t * argv[]);
22  void Execute();
23 };
TCLAP::SwitchArg _user
Definition: DSNCmdEngine.h:16
TCLAP::ValueArg< std::wstring > _driver
driver
Definition: DSNCmdEngine.h:18
DSNCmdEngine(int argc, wchar_t *argv[])
Definition: DSNCmdEngine.cpp:5
TCLAP::SwitchArg _nologo
remove banner
Definition: DSNCmdEngine.h:9
Definition: DSNCmdEngine.h:3
TCLAP::CmdLine _cmd
command line parameters
Definition: DSNCmdEngine.h:7
TCLAP::UnlabeledMultiArg< std::wstring > _params
DSN parameters.
Definition: DSNCmdEngine.h:13
void Execute()
execute per command line args
Definition: DSNCmdEngine.cpp:18
TCLAP::SwitchArg _system
system vs. user DSN
Definition: DSNCmdEngine.h:15
TCLAP::UnlabeledValueArg< std::wstring > _operation
operation to perform
Definition: DSNCmdEngine.h:11


© Application Security Inc. - All Rights Reserved http://msiext.codeplex.com