Share via


RasGetDispPhoneNum

This function obtains the displayable phone number to be used in a dial-up connection.

RasGetDispPhoneNum(
  LPCWSTR szPhonebook,
  LPCWSTR szEntry,
  LPWSTR szPhoneNum,
  DWORD dwPhoneNumLen
);

Parameters

  • szPhonebook
    This parameter is ignored and should be set to NULL. Dial-up networking stores phone-book entries in the registry rather than in a phone-book file.
  • szEntry
    Null-terminated string that specifies an existing entry name.
  • szPhoneNum
    Specifies the phone number.
  • dwPhoneNumLen
    Specifies the length of the phone number in bytes.

Return Values

Returns zero (0) if successful, otherwise, a non-zero error code is returned.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Ras.h.
Link Library: Coredll.lib.

 Last updated on Thursday, April 08, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.