RASENTRYNAME structure

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

Syntax

typedef struct _RASENTRYNAME {
  DWORD dwSize;
  TCHAR szEntryName[RAS_MaxEntryName + 1];
#if (WINVER >= 0x500)
  DWORD dwFlags;
  TCHAR 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 that contains the name of a remote access phone-book entry.

  • dwFlags
    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
    Specifies the full path and file name of the phone-book (PBK) file.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Ras.h

Unicode and ANSI names

RASENTRYNAMEW (Unicode) and RASENTRYNAMEA (ANSI)

See also

Remote Access Service (RAS) Overview

Remote Access Service Structures

RasEnumEntries