Share via


RasGetDispPhoneNum (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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 Value

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

Requirements

Header ras.h
Library coredll.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

RAS Functions