RasGetDispPhoneNum (Windows CE 5.0)

Send Feedback

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

RasGetDispPhoneNum(LPCWSTRszPhonebook,LPCWSTRszEntry,LPWSTRszPhoneNum,DWORDdwPhoneNumLen);

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.

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.