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.

35 lines
867 B

  1. //
  2. // Structure contains the various parameters that can be
  3. // set for users. If a parameter is NULL, it means that
  4. // it was not specified.
  5. //
  6. typedef struct _USERMON_PARAMS
  7. {
  8. PWCHAR pwszUser;
  9. LPDWORD lpdwDialin;
  10. LPDWORD lpdwCallback;
  11. PWCHAR pwszCbNumber;
  12. } USERMON_PARAMS;
  13. //
  14. // Define the operations that drive the option parser.
  15. //
  16. #define RASUSER_OP_SHOW 0x1
  17. #define RASUSER_OP_SET 0x2
  18. FN_HANDLE_CMD HandleUserSet;
  19. FN_HANDLE_CMD HandleUserShow;
  20. FN_HANDLE_CMD HandleUserAdd;
  21. FN_HANDLE_CMD HandleUserDelete;
  22. DWORD
  23. UserParseSetOptions(
  24. IN OUT LPWSTR *ppwcArguments,
  25. IN DWORD dwCurrentIndex,
  26. IN DWORD dwArgCount,
  27. OUT USERMON_PARAMS** ppParams);
  28. DWORD
  29. UserFreeParameters(
  30. IN USERMON_PARAMS * pParams);