Using Win32 functions in Visual FoxPro Image Gallery
Process and Thread
..msdn
AssignProcessToJobObject
CommandLineToArgvW
CreateJobObject
CreateProcess
CreateProcessAsUser
CreateProcessWithLogonW
ExitProcess
FreeEnvironmentStrings
GetCommandLine
GetCurrentProcess
GetCurrentProcessId
GetCurrentThread
GetCurrentThreadId
GetEnvironmentStrings
GetEnvironmentVariable
GetPriorityClass
GetProcessIoCounters
GetProcessTimes
GetProcessVersion
GetStartupInfo
GetThreadPriority
IsWow64Process
OpenProcess
RegisterServiceProcess
SetEnvironmentVariable
SetPriorityClass
SetThreadPriority
Sleep
TerminateJobObject
TerminateProcess
WinExec
Code examples:
Reading and setting the priority class values for the current process and thread
SetThreadPriority
..msdn    Add comment     W32 Constants      Translate this page
Sets the priority value for the specified thread. This value, together with the priority class of the thread"s process, determines the thread"s base priority level.
Code examples:
Reading and setting the priority class values for the current process and thread
Declaration:
BOOL SetThreadPriority(
  HANDLE hThread, // handle to the thread
  int nPriority   // thread priority level
);
FoxPro declaration:
DECLARE INTEGER SetThreadPriority IN kernel32;
    INTEGER hThread,;
    INTEGER nPriority
Parameters:
hThread
[in] Handle to the thread whose priority value is to be set.

nPriority
[in] Specifies the priority value for the thread. This parameter can be one of the predefined values.
Return value:
If the function succeeds, the return value is nonzero. If the function fails, the return value is zero.
Word Index links for the SetThreadPriority :
Translate this page:
  Spanish    Portuguese    German    French    Italian  
FreeTranslation.com offers instant, free translations of text or web pages.
Created: 2001-12-17 23:21:07
Modified: 2001-12-17 23:22:56
Visited in last 7 days: 16
User Contributed Notes:
There are no notes on this subject.


Copyright 2001-2017 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.36), the Open Source standard SQL database, AceHTML Freeware Version 4, freeware HTML Editor of choice.   Hosted by Korax Online Inc.
Last Topics Visited (54.166.150.205)
28 sec.Function: 'URLDownloadToCacheFile'
Google
Advertise here!