Partager via


RasGetDispPhoneNum (Compact 2013)

3/26/2014

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

See Also

Reference

RAS Functions