Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
Testing an ODBC connection for supporting specific functionality
Using mailslots to send messages on the network
Drawing standard Windows icons
Enumerating global and local group accounts on a server (WinNT/XP/2K)
Enumerating print processors and supporting data types installed on the specified server
Number of clipboard formats available
Reading and setting Environment variables
Retrieving list of all active RAS connections
Using InternetGoOnline function
Yet another modal dialog: now HTML-based
Changing file attributes
Comparing dimensions of the VFP main window with _SCREEN properties
Enumerating Volumes and Volume Mounting Points (NTFS)
GDI+: Color Transparency
How to find the application associated with a file name
Printing text on the client area of the main VFP window
DiskFreeSpace class
Displaying the drive type value
Enumerating MIDI output devices
Reading and setting system access privileges for the current process
Retrieving information about MS-DOS device names using QueryDosDevice (WinNT only)
The DetectAutoProxyUrl function identifies the auto-config script location
Adding printer to the list of supported printers for the specified server
Get the power status of your laptop computer
How to find when the application started

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
Versions:
click to open
Before you begin:
The GetProcessTimes function among other output parameters returns the creation time of the process.
 
  Members area. Log in to view this example.
 
  User name:
  Password:
 
 
  Forgot your password?
 
  Sign up for
the Membership
 
 


User rating: 0/10 (0 votes)
Rate this code sample:
  • ~
2531 bytes  
Created: 2008-03-26 12:09:34  
Modified: 2008-03-26 12:15:50  
Visits in 7 days: 109  
Listed functions:
CloseHandle
FileTimeToSystemTime
GetCurrentProcessId
GetLastError
GetProcessTimes
OpenProcess
Printer friendly API declarations
My comment:
The Kernel Mode and User Mode times put together are equival to the CPU Time value displayed for the process in the Task Manager.
Word Index links for this example:
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.
Last Topics Visited (50.16.132.180)
3 sec.Function: 'OpenEventLog'
6 sec.Function: 'HeapLock'
Function group: 'Memory Management'
1.33 hrs.Function: 'MapVirtualKey'
 Function: 'GetCurrentThread'
2.03 hrs.Function: 'GdiplusStartup'
 Function: 'WNetDisconnectDialog'
3.26 hrs.Function: 'SHGetStockIconInfo'
 Function: 'EndUpdateResource'
Function group: 'Resource'
 Example: 'GetFocus returns a HWND value'
4.81 hrs.Example: 'Retrieving statistics for the TCP protocol running on the local computer'
Google
Advertise here!