The process and thread functions of the API

Source: Internet
Author: User
Tags exit mutex relative
Cancelwaitabletimer This function is used to cancel a timer operation that can wait
Callnamedpipe This function is called by a client process that wants to communicate through a pipeline
Connectnamedpipe Instructs a server to wait until the client is connected to the same named pipe
CreateEvent Create an Event object
Createmailslot Create a postman. The returned handle is used by the Postman Server (recipient)
CreateMutex Create a mutex (mutex)
CreateNamedPipe Create a named pipe. The returned handle is used by the server side of the pipe
CreatePipe Create an anonymous pipe
CreateProcess Create a new process (such as executing a program)
CreateSemaphore Create a new signal machine
CreateWaitableTimer To create a waiting timer object
Disconnectnamedpipe Disconnect a customer from a named pipe
DuplicateHandle Creates a new handle for that object when it indicates the current handle of an existing system object
ExitProcess Abort a process
Findclosechangenotification Close a Change notification object
FindExecutable Finds the file name of a program associated with a specified file
FindFirstChangeNotification Creates a file notification object. This object is used to monitor changes in the file system
Findnextchangenotification Reset a file change the notification object so that it continues to monitor the next change
FreeLibrary Releases the specified dynamic link library
GetCurrentProcess Gets a pseudo handle to the current process
GetCurrentProcessId Gets a unique identifier for the current process
GetCurrentThread Gets a pseudo handle to the current thread
GetCurrentThreadID Gets a unique thread identifier for the current thread
Getexitcodeproces Gets the exit code for an interrupted process
GetExitCodeThread Gets the exit code for an aborted thread
Gethandleinformation Gets information about a system object handle
Getmailslotinfo Get information about a postman
GetModuleFileName Gets the full path name of a loaded template
GetModuleHandle Gets the module handle of an application or dynamic-link library
Getpriorityclass To get the priority level of a particular process
Getprocessshutdownparameters Investigate the shutdown of a specified process relative to other processes when the system shuts down
Getprocesstimes Gets information about the elapsed time of a process
Getprocessworkingsetsize Understand how much memory an application actually delivers to it during the run
Getsartupinfo Get startup information for a process
GetThreadPriority To get the priority level of a particular thread
Gettheardtimes Gets information about the elapsed time of a thread
GetWindowThreadProcessId Gets a process and thread identifier that is associated with the specified window
LoadLibrary Loads the specified dynamic link library and maps it to the address space used by the current process
LoadLibraryEx Loads the specified dynamic link library and maps it to the address space for the current process
LoadModule Load a Windows application and run it in the specified environment
MsgWaitForMultipleObjects Waits for a single object or a series of objects to emit signals. If the return condition is satisfied, return immediately
Setpriorityclass Set the priority level of a process
Setprocessshutdownparameters Sets the order of the shutdown for the specified process, relative to other programs, during system shutdown
SetProcessWorkingSetSize Set the amount of memory the operating system actually divides into the process
SetThreadPriority Set the priority level of a thread
ShellExecute Finds the file name of the program associated with the specified file
TerminateProcess End a process
WinExec Run the specified program

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.