please dont rip this site Prev Next

RasSetEntryProperties info  Overview  Group

The RasSetEntryProperties function changes the connection information for an entry in the phone book or creates a new phone-book entry.

DWORD RasSetEntryProperties(

    LPTSTR lpszPhonebook,

// pointer to full path and filename of phone-book file

    LPTSTR lpszEntry,

// pointer to an entry name

    LPRASENTRY lpRasEntry,

// buffer that contains entry information

    DWORD dwEntryInfoSize,

// size, in bytes, of the lpRasEntry buffer

    LPBYTE lpbDeviceInfo,

// buffer that contains device-specific configuration information

    DWORD dwDeviceInfoSize

// size, in bytes, of the lpbDeviceInfo buffer

   );

Parameters

lpszPhonebook
Windows NT: Pointer to a null-terminated string that specifies the full path and filename of a phone-book (.PBK) file. If this parameter is NULL, the function uses the current default phone-book file. The default phone-book file is the one selected by the user in the User Preferences property sheet of the Dial-Up Networking dialog box.
lpszEntry
Pointer to a null-terminated string containing an entry name.

If the entry name matches an existing entry, RasSetEntryProperties modifies the properties of that entry.

If the entry name does not match an existing entry, RasSetEntryProperties creates a new phone-book entry. For new entries, call the RasValidateEntryName function to validate the entry name before calling RasSetEntryProperties.

lpRasEntry
Pointer to a RASENTRY structure that contains the new connection data to be associated with the phone-book entry specified by the lpszEntry parameter.

The structure might be followed by an array of null-terminated alternate phone number strings. The last string is terminated by two consecutive null characters. The dwAlternateOffset member of the RASENTRY structure contains the offset to the first string.

dwEntryInfoSize
Specifies the size, in bytes, of the buffer specified by the lpRasEntry parameter.
lpbDeviceInfo
Pointer to a buffer containing device-specific configuration information. This is opaque TAPI device configuration information. For more information about TAPI device configuration, see the Win32 Telephony (TAPI) Programmer’s Reference.
dwDeviceInfoSize
Specifies the size, in bytes, of the lpbDeviceInfo buffer.

Return Values

If the function succeeds, the return value is zero.

If the function fails, the return value can be one of the following error codes.

Value

Meaning

ERROR_BUFFER_INVALID

The address or buffer specified by lpRasEntry is invalid.

ERROR_CANNOT_OPEN_PHONEBOOK

The phone book is corrupted or missing components.

See Also

RASENTRY, RasCreatePhonebookEntry, RasGetEntryProperties, RasValidateEntryName


file: /Techref/os/win/api/win32/func/src/f71_1.htm, 5KB, , updated: 2000/4/7 11:19, local time: 2024/11/23 17:45,
TOP NEW HELP FIND: 
3.135.184.27:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/techref/os/win/api/win32/func/src/f71_1.htm"> RasSetEntryProperties</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .