Platform SDK: RAS/Routing and RAS

RASENTRYNAME

The RASENTRYNAME structure contains an entry name from a remote access phone book. The RasEnumEntries function returns an array of these structures.

typedef struct _RASENTRYNAME { 
  DWORD  dwSize; 
  TCHAR  szEntryName[RAS_MaxEntryName + 1]; 
#if (WINVER >= 0x500)
  DWORD dwFlags;
  CHAR  szPhonebookPath[MAX_PATH + 1];
#endif
} RASENTRYNAME; 

Members

dwSize
Specifies the structure size, in bytes. Before using RASENTRYNAME in a function call, set this member to sizeof(RASENTRYNAME).
szEntryName
Specifies a string containing the name of a remote access phone-book entry.
dwFlags
Windows 2000: Specifies whether the entry is in the system phone book in the AllUsers profile, or in the user's profile phone book. This member should be one of the following values.
Value Meaning
REN_AllUsers The phone book is a system phone book and is in the AllUsers profile.
REN_User The phone book is in the user's profile.

szPhonebookPath
Windows 2000: Specifies the full path and file name of the phone-book (PBK) file.

Requirements

  Windows NT/2000: Requires Windows NT 3.1 or later.
  Windows 95/98: Requires Windows 95 or later.
  Header: Declared in Ras.h.
  Unicode: Declared as Unicode and ANSI structures.

See Also

Remote Access Service (RAS) Overview, Remote Access Service Structures, RasEnumEntries