Leaked source code of windows server 2003
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
//--------------------------------------------------------------------
// CmdArgs - header
// Copyright (C) Microsoft Corporation, 1999
//
// Created by: Louis Thomas (louisth), 10-4-99
//
// stuff to deal with command line arguments
//
#ifndef CMD_ARGS_H
#define CMD_ARGS_H
struct CmdArgs { WCHAR ** rgwszArgs; unsigned int nArgs; unsigned int nNextArg; };
bool CheckNextArg(IN CmdArgs * pca, IN WCHAR * wszTag, OUT WCHAR ** pwszParam); bool FindArg(IN CmdArgs * pca, IN WCHAR * wszTag, OUT WCHAR ** pwszParam, OUT unsigned int * pnIndex); void MarkArgUsed(IN CmdArgs * pca, IN unsigned int nIndex); HRESULT VerifyAllArgsUsed(IN CmdArgs * pca);
#endif //CMD_ARGS_H
|