/****************************************************************************** * * Copyright (c) Microsoft Corporation. All rights reserved. * *****************************************************************************/ #ifndef _PARAMSPARSER_H_ #define _PARAMSPARSER_H_ #include #include #include #include #define WSMAN_API_VERSION_1_0 #include /*------------------------------------------------------------------------ Implements a class to get input parameters for shell client API calls ------------------------------------------------------------------------*/ class CParamsParser { public: PWSTR connection; PWSTR authentication; PWSTR username; PWSTR password; PWSTR resourceUri; PWSTR commandLine; PSTR sendData; PWSTR countStr; DWORD authenticationMechanism; DWORD count; CParamsParser(); ~CParamsParser(); bool ParseCommandLine(int argc, __in_ecount(argc) wchar_t * argv[]); static void PrintUsage(PCWSTR program); private: }; #endif