Using Win32 functions in Visual FoxPro Image Gallery
Code examples:
GDI+: Creating thumbnails to preview images in a directory
How to make the caption of a VFP application flashing in the Windows task bar
Setting the date and time that a file was created
The window and its ancestors
Getting a bit more than the _CLIPTEXT offers
How to display the Print property sheet
How to retrieve number of objects in the Recycle Bin
MapiSendMail class for Visual FoxPro application
Obtaining provider name for a specific type of network
Using the RestartDialog function -- restarting Windows
GDI+: printing vertical text on VFP reports via generated images (VFP8)
Obtaining information about all user accounts on a server (WinNT only)
Using named pipes for interprocess communication
Adding printer to the list of supported printers for the specified server
Converting an HTTP time/date string to a SYSTEMTIME structure
How to create a desktop shortcut (shell link)
How to find the application associated with a file name
Winsock: changing the byte ordering
GDI+ fun: roach-infested desktop
Retrieving file information for the VFP executable running
Retrieving Printer Device Context using PrintDlg function
Retrieving size of a remote file
Enumerating network interfaces on the local computer
How to find which fonts Windows uses for drawing captions, menus and message boxes
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: 121  
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.17.109.248)
3 sec.Example: 'Reading entries from Event logs'
10.36 hrs.Function: 'ReleaseMutex'
 Example: 'Adding user-defined items to the Control Menu of VFP form (requires VFP9)'
10.92 hrs.Function: 'GetUserNameEx'
Function group: 'System Information'
 Example: 'How to remove a directory that is not empty'
 Example: 'How to delete IE cookies, clear IE history and delete files in Temporary Internet Files directory'
13.56 hrs.Example: 'Using InternetGoOnline function'
 Example: 'Retrieving configuration information for the specified workstation (Win2000/XP)'
17.25 hrs.Example: 'Retrieving the priority class for the current process'
 Example: 'Retrieving the name of the network resource associated with a local device'
Google
Advertise here!