Using Win32 functions in Visual FoxPro Image Gallery
Remote Access Service (RAS)
Code examples:
Retrieving the name and type of all available RAS-capable devices
..msdn    Add comment     W32 Constants      Translate this page
The RasEnumDevices function returns the name and type of all available RAS-capable devices.
Code examples:
Retrieving the name and type of all available RAS-capable devices
DWORD RasEnumDevices(
  LPRASDEVINFO lpRasDevInfo,  // buffer to receive
                              //  information about RAS devices
  LPDWORD lpcb,               // size, in bytes, of the buffer
  LPDWORD lpcDevices          // receives the number of
                              //  entries written to the buffer
FoxPro declaration:
DECLARE INTEGER RasEnumDevices IN rasapi32;
    STRING  @ lpRasDevInfo,;
    INTEGER @ lpcb,;
    INTEGER @ lpcDevices
[in] Pointer to a buffer that receives an array of RASDEVINFO structures, one for each RAS-capable device.

[in, out] Pointer to a variable that, on input, contains the size, in bytes, of the lpRasDevInfo buffer.

[out] Pointer to a variable that receives the number of RASDEVINFO structures written to the lpRasDevInfo buffer.
Return value:
If the function succeeds, the return value is zero.
Translate this page:
  Spanish    Portuguese    German    French    Italian offers instant, free translations of text or web pages.
Created: 2002-08-10 23:31:36
Modified: 2002-08-10 23:37:03
Visited in last 7 days: 61
User Contributed Notes:
c.carter | 2006-06-08 12:25:45
this would be nice if com port number was returned with modem types

Copyright 2001-2018 News2News, Inc. Before reproducing or distributing any data from this site please ask for an approval from its owner. Unless otherwise specified, this page is for your personal and non-commercial use. The information on this page is presented AS IS, meaning that you may use it at your own risk. Microsoft Visual FoxPro and Windows are trade marks of Microsoft Corp. All other trademarks are the property of their respective owners. 

Privacy policy
Credits: PHP (4.4.9), an HTML-embedded scripting language, MySQL (5.6.39), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (
7 sec.
Function group: 'URL Monikers'
13 sec.Function: 'CeFindFirstDatabaseEx'
18 sec.Function: 'SQLDataSources'
22 sec.Function: 'InternetWriteFile'
27 sec.Function: 'SetClipboardViewer'
32 sec.Function: 'mmioWrite'
38 sec.Function: 'SQLDriverConnect'
44 sec.Function: 'mciSendCommand'
54 sec.Function: 'RegEnumKey'
1 day(s)Function: 'CeRegDeleteValue'
Function group: 'Remote Application Programming (RAPI)'
Advertise here!