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.

39 lines
728 B

  1. //Copyright (c) 1998 - 1999 Microsoft Corporation
  2. /*++
  3. Module Name:
  4. cmdln.cpp
  5. Abstract:
  6. This Module contains the implementation of CLicMgrCommandLine class
  7. (used for CommandLine Processing)
  8. Author:
  9. Arathi Kundapur (v-akunda) 11-Feb-1998
  10. Revision History:
  11. --*/
  12. #include "stdafx.h"
  13. #include "cmdln.h"
  14. //Change this function to process the commandline differently
  15. void CLicMgrCommandLine::ParseParam(LPCTSTR pszParam, BOOL bFlag, BOOL bLast)
  16. {
  17. if (!bFlag && m_bFirstParam)
  18. {
  19. m_FileName = pszParam;
  20. m_bFirstParam = FALSE;
  21. }
  22. }
  23. CLicMgrCommandLine::CLicMgrCommandLine():CCommandLineInfo()
  24. {
  25. m_bFirstParam = TRUE;
  26. m_FileName = _T("");
  27. }