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
35 lines
867 B
//
|
|
// Structure contains the various parameters that can be
|
|
// set for users. If a parameter is NULL, it means that
|
|
// it was not specified.
|
|
//
|
|
typedef struct _USERMON_PARAMS
|
|
{
|
|
PWCHAR pwszUser;
|
|
LPDWORD lpdwDialin;
|
|
LPDWORD lpdwCallback;
|
|
PWCHAR pwszCbNumber;
|
|
} USERMON_PARAMS;
|
|
|
|
//
|
|
// Define the operations that drive the option parser.
|
|
//
|
|
#define RASUSER_OP_SHOW 0x1
|
|
#define RASUSER_OP_SET 0x2
|
|
|
|
|
|
FN_HANDLE_CMD HandleUserSet;
|
|
FN_HANDLE_CMD HandleUserShow;
|
|
FN_HANDLE_CMD HandleUserAdd;
|
|
FN_HANDLE_CMD HandleUserDelete;
|
|
|
|
DWORD
|
|
UserParseSetOptions(
|
|
IN OUT LPWSTR *ppwcArguments,
|
|
IN DWORD dwCurrentIndex,
|
|
IN DWORD dwArgCount,
|
|
OUT USERMON_PARAMS** ppParams);
|
|
|
|
DWORD
|
|
UserFreeParameters(
|
|
IN USERMON_PARAMS * pParams);
|