Source code of Windows XP (NT5)
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.
 
 
 
 
 
 

67 lines
1.4 KiB

/********************************************************************/
/** Microsoft LAN Manager **/
/** Copyright(c) Microsoft Corp., 1990-1991 **/
/********************************************************************/
//***
//
// Filename: usrparms.h
//
// Description:
//
// History:
//
#define UP_CLIENT_MAC 'm'
#define UP_CLIENT_DIAL 'd'
// The 49-byte user params structure is laid out as follows:
// NOTE that the buffer is 48 byte + NULL byte.
//
// +-+-------------------+-+------------------------+-+
// |m|Macintosh Pri Group|d|Dial-in CallBack Number | |
// +-+-------------------+-+------------------------+-+
// | | |
// +---------------------+------ Signature +- NULL terminator
//
#define UP_LEN_MAC ( LM20_UNLEN )
#define UP_LEN_DIAL ( LM20_MAXCOMMENTSZ - 3 - UP_LEN_MAC )
typedef struct {
char up_MACid;
char up_PriGrp[UP_LEN_MAC];
char up_MAC_Terminater;
char up_DIALid;
char up_CBNum[UP_LEN_DIAL];
char up_Null;
} USER_PARMS;
typedef USER_PARMS FAR *PUP;
VOID InitUsrParams(
OUT USER_PARMS *UserParms);
USHORT
SetUsrParams(
USHORT InfoType,
LPWSTR InBuf,
LPWSTR OutBuf);
USHORT
FAR
APIENTRY
MprGetUsrParams(
USHORT InfoType,
LPWSTR InBuf,
LPWSTR OutBuf);
DWORD
APIENTRY
RasPrivilegeAndCallBackNumber(
IN BOOL Compress,
IN PRAS_USER_0 pRasUser0
);