The RasValidateEntryName function validates the format of a connection entry name. The name must contain at least one non-white-space alphanumeric character.
DWORD RasValidateEntryName(
LPTSTR lpszPhonebook, |
// pointer to full path and filename of phone-book file |
LPTSTR lpszEntry |
// pointer to the entry name to validate |
); |
Windows NT: The entry name cannot begin with a period (“.”).
If the function succeeds, the return value is zero.
If the function fails, the return value is ERROR_INVALID_NAME or ERROR_ALREADY_EXISTS.