Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Retrieving the priority class for the current process
Retrieving the System Time adjustment
Converting twips to pixels and vice versa
FindText -- the hopeless and useless Common Dialog
High-powered ALLTRIM
How to test file attributes (key method for FileExists and DirectoryExists routines)
Retrieving a handle to DLL and address of an exported function in it
Retrieving configuration information for the specified server (Win98/Me)
Retrieving various system metrics
How to play a waveform sound (a WAV file in particular)
Pocket PC: modifying keys in the System Registry
Setting and retrieving the double-click time for the mouse
Setting the volume label
Using the GetTempFileName
Comparing dimensions of the VFP main window with _SCREEN properties
Who is the first in viewing the Clipboard
Clipping mouse cursor area
Current directory of the application
How to check whether the system is 32-bit or 64-bit
Obtaining I/O counts for the current process
Retrieving default spooling directory name
Retrieving the IP-to-physical address mapping table
Retrieving the rectangle area where the mouse cursor is confined
Winsock: retrieving information about available transport protocols
List of addresses in the AutoDial mapping database

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
More code examples    Listed functions    Add comment     W32 Constants      Translate this page Printer friendly version of this code sample
 
DECLARE INTEGER RasEnumAutodialAddresses IN rasapi32;
    STRING @lppAddresses, INTEGER @lpdwcbAddresses, INTEGER @lpdwcAddresses
 
LOCAL lcBuffer, lnBufsize, lnCount
 
STORE 0 TO lnBufsize, lnCount
lnBufsize = 16384
lcBuffer = Repli(Chr(0), lnBufsize)
 
= RasEnumAutodialAddresses (@lcBuffer, @lnBufsize, @lnCount)
 
IF lnCount = 0
    ? "AutoDial mapping database is empty"
ENDIF
 
 

User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
386 bytes  
Created: 2002-08-12 10:07:07  
Modified: 2002-08-12 10:11:04  
Visits in 7 days: 40  
Listed functions:
RasEnumAutodialAddresses
Printer friendly API declarations
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
User Contributed Notes:
There are no notes on this subject.


Copyright © 2001-2013 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.1.55-log), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Google
Advertise here!