Kernel32 related functions

Source: Internet
Author: User

Call dword ptr [<& kernel32.writefile>] kernel32.writefile <br/> writes data to a file, you can also use this function to process communication devices, pipelines, sockets, and mail slots. </P> <p> call dword ptr [<& kernel32.writeconsole>] kernel32.writeconsole <br/> in the current cursor position writes the string to the console screen buffer. </P> <p> call dword ptr [<& kernel32.widechartomultibyte>] kernel32.widechartomultibyte <br/> maps a unicode string to a multi-byte string. </P> <p> call dword ptr [<& kernel32.waitforsingleobject>] kernel32.waitforsingleobject <br/> used to detect the signal status of the hhandle event </P> <p> call dword ptr [< & kernel32.virtualquery>] kernel32.virtualquery <br/> in the unit of page, traverse the virtual space of a process. </P> <p> call dword ptr [<& kernel32.virtualprotect>] kernel32.virtualprotect <br/> In the virtual address space of the call processing sequence, change the protection on the page area. </P> <p> call dword ptr [<& kernel32.virtualfree>] kernel32.virtualfree <br/> cancels or releases a region on the virtual address space page of the calling Process </P> <p> call dword ptr [<& kernel32.virtualalloc>] kernel32.virtualalloc <br/> use the virtual address space of the process, </P> <p> call dword ptr [<& kernel32.unhandledexceptionfilter>] kernel32.unhandledexceptionfilter <br/> A dialog box is displayed to indicate that an error has occurred. </P> <p> call dword ptr [<& kernel32.tlssetvalue>] kernel32.tlssetvalue <br/> set the value in the thread array </P> <p> Call dword ptr [<& kernel32.tlsgetvalue>] kernel32.tlsgetvalue <br/> Read the value in the thread array </P> <p> call dword ptr [<& kernel32.tlsfree>] kernel32.tlsfree cancels or releases the TLS array index variable of a thread. </P> <p> call dword ptr [<& kernel32.tlsalloc>] kernel32.tlsalloc <br/> defines global variables of DWORD threads or static function variables, prepare to access the index variable of your TLS array as each thread. </P> <p> call dword ptr [<& kernel32.terminateprocess>] kernel32.terminateprocess <br/> ends a Process </P> <p> call dword ptr [<& kernel32.sleep>] kernel32.sleep <br/> the program is suspended, the execution is delayed for several times. the duration is determined by the parameter </P> <p> call dword ptr [<& kernel32.sizeofresource>] kernel32.sizeofresource <br/> returns the size of the specified resource byte </P> <p>> call dword ptr [<& kernel32.setunhandledexceptionfilter>] kernel32.setunhandledexceptionfilter <br/> sets the exception capture function. when the exception is not handled, the system calls Use the exception handling function set by setunhandledexceptionfilter. </P> <p> call dword ptr [<& kernel32.setstdhandle>] kernel32.setstdhandle <br/> sets sub-processes and parent processes to share standard input, standard output, and standard error handle. </ p> <p> call dword ptr [<& kernel32.sethandlecount>] kernel32.sethandlecount <br/> set the available file handle </P> <p> call dword ptr [<& kernel32.setfilepointer>] kernel32.setfilepoin <br/> set the current read/write location in a file </P> <p> call dword ptr [<& kernel32.setevent>] kernel32.setevent <br/> set the event status Marked, release any waiting thread </P> <p> call dword ptr [<& kernel32.setenvironmentvariablea>] kernel32.setenvironmentvariablea <br/> set the specified environment variable of the current process </P> <p>> call dword ptr [<& kernel32.setendoffile>] kernel32.setendoffile <br/> for an open file, set the current file location to the end of the file </P> <p> call dword ptr [<& kernel32.resetevent>] kernel32.resetevent <br/>. This function sets the specified event object to no signal. status. </P> <p> call dword ptr [<& kernel32.readfile>] kernel32.readfile <br/> reads data from the file pointer to a file, and supports synchronous and asynchronous operations, </P> <p> call dword ptr [<& kernel32.raiseexception>] kernel32.raiseexception <br/> trigger an exception object </P> <p> call dword ptr [<& kernel32.queryperformancefrequency>] kernel32.queryperformancefrequency <br/> return count frequency </P> <p> call dword ptr [<& kernel32.queryperformancecounter>] kernel32.queryperformancecounter <br/> To the value of a high-precision timer (if such a timer exists) </P> <p> call dword ptr [<& kernel32.outputdebugstring>] kernel32.outputdebugstring <br/> send a string to debugging </P> <p> call dword ptr [<& kernel32.multibytetowidechar] kernel32.multibytetowidechar <br/> This function maps a string to a wide character (UNICODE). The string mapped by this function does not need to be a multi-byte character group. </P> <p> call dword ptr [<& kernel32.movefile>] kernel32.movefile <br/> Description: move one or more files from one place to another. </P> <p> call dword ptr [<& kernel32.lstrlen>] kernel32.lstrlen <br/> This function returns the byte length of the specified string (ANSI) or the length (double-byte Standard Edition). It does not include the end null character. </P> <p> call dword ptr [<& kernel32.lstrcmp>] kernel32.lstrcmp <br/> compares two strings, which are case sensitive. </P> <p> call dword ptr [<& kernel32.lstrcmpi>] kernel32.lstrcmpi <br/> compares two strings, which are case insensitive. </P> <p> call dword ptr [<& kernel32.loadresource>] kernel32.loadresource <br/> load the specified resource to the global storage. </P> <p> call dword ptr [<& kernel32.loadlibrary>] kernel32.loadlibrary <br/> load the specified dynamic link library and map it to the address space used by the current process. Once loaded, you can access the resources saved in the database </P> <p> call dword ptr [<& kernel32.lcmapstring>] kernel32.lcmapstring <br/> image string </P> <p> call DWORD PTR [<& strong>] kernel32.isvalidlocale <br/> determine whether the local code is valid </P> <p> call dword ptr [<& kernel32.isvalidcodepage>] kernel32.isvalidcodepage <br/> valid or not </P> <p> call dword ptr [<& kernel32.isprocessorfeaturepresent>] kernel32.isprocessorfeaturepresent <br/> obtain features of X86 processors supported in the System </P> <p> Call dword ptr [<& kernel32.isdebuggerpresent>] kernel32.isdebuggerpresent <br/> indicates whether the called process is running in a debugger </P> <p> call dword ptr [<& gt>] kernel32.isdbcsleadbyteex <br/> converts the character encoding of the current code page to unicode encoding </P> <p> call dword ptr [<& kernel32.interlockedincrement>] kernel32.interlockedincrement <br/> the value of the integer variable. The operations executed by this function can safely avoid synchronization issues-even if it is a shared variable </P> <p> call dword ptr [<& kernel32.interlockedexchange>] kernel32.interlockedexchange <br/> can be atomic the Operation Method exchanges two parameters, b, and return a previous value </P> <p> call DWORD PTR [<& kernel32.interlockeddecrement>] kernel32.interlockeddecrement <br/> to ensure that during this operation, the value of a variable is not changed by other places (such as threads. </P> <p> call dword ptr [<& kernel32.interlockedcompareexchange>] kernel32.interlockedcompareexchange <br/> lock the front-end bus </P> <p> call dword ptr [<& cite>] Quit <br/> initialize a critical resource object </P> <p> call dword ptr [<& kernel32.initializecriticalsection>] kernel32.initializecriticalsection <br/> initialize a critical resource object </P> <p> call dword ptr [<& kernel32.heapdestro Y>] kernel32.heapdestroy <br/> cancel heap </P> <p> call dword ptr [<& kernel32.heapcreate>] kernel32.heapcreate <br/> Create heap </P> <p> call dword ptr [<& kernel32.globalunlock>] kernel32.globalunlock <br/> unlock global memory </P> <p> call dword ptr [<& kernel32.globalmemorystatus>] kernel32.globalmemorystatus <br/> check memory status </P> <p> call dword ptr [<& kernel32.globallock>] kernel32.globallock <br/> lock the memory object and return a pointer </P> <p> call dword ptr [<& Kernel 32. globalfree>] kernel32.globalfree <br/> release global memory blocks </P> <p> call dword ptr [<& kernel32.globalalloc>] kernel32.globalalloc <br/> this function is allocated from the heap. number of bytes. </P> <p> call dword ptr [<& kernel32.getversionex>] kernel32.getversionex <br/> return extended OS Version Information </P> <p> call DWORD PTR [<& kernel32.getuserdefaultlcid>] kernel32.getuserdefaultlcid <br/> obtain the user's default local ID </P> <p> call dword ptr [<& kernel32.gettimezoneinformation>] kernel32.gettime Zoneinformation <br/> returns the current time zone information </P> <p> call dword ptr [<& kernel32.gettickcount>] kernel32.gettickcount <br/> milliseconds elapsed since the operating system started count </P> <p> call dword ptr [<& kernel32.getthreadlocale>] kernel32.getthreadlocale <br/> obtain local information of a clue </P> <p> call dword ptr [<& kernel32.getsystemtimeasfiletime >] kernel32.getsystemtimeasfiletime <br/> is used to obtain the current system Time (UTC ), returned in the form of filetime. </P> <p> call dword ptr [<& kernel32.getsysteminfo>] kernel32.getsysteminfo <br/> Returns information about the current system. </P> <p> call dword ptr [<& kernel32.getsystemdirectory>] kernel32.getsystemdirectory <br/> obtain the Windows System directory (system directory) </P> <p> call dword ptr [<& kernel32.getstringtype>] kernel32.getstringtype <br/> obtain the Unicode string type </P> <p> call dword ptr [< & kernel32.getstdhandle>] kernel32.getstdhandle <br/> returns the handle of the standard input, output, or wrong device, that is, the handle to obtain the input, output, or error screen buffer. </P> <p> call dword ptr [<& kernel32.getstartupinfo>] kernel32.getstartupinfo <br/> return the startupinfo structure specified when the process is started </P> <p> call DWORD PTR [<& kernel32.getprocessheap>] kernel32.getprocessheap <br/> used to obtain the heap handle of the call Process </P> <p> call dword ptr [<& kernel32.getprocaddress>] callback <br/> retrieve the specified dynamic link library (DLL) function address of the output library. </P> <p> call dword ptr [<& kernel32.getoemcp>] kernel32.getoemcp <br/> obtain the OEM system code page </P> <p> call dword ptr [<& kernel32.getmodulehandle>] kernel32.getmodulehandle <br/> obtains the module handle of an application or dynamic link library </P> <p> call dword ptr [<& kernel32.getmodulefilename>] kernel32.getmodulefilename <br/> returns the specified module path </P> <p> call dword ptr [<& kernel32.getlocaleinfo>] kernel32.getlocaleinfo <br/> obtain local information from the record </P> <p> call DWORD PTR [<& kernel32.getfi Letype>] kernel32.getfiletype <br/>, determine the file type </P> <p> call dword ptr [<& kernel32.getfilesize>] kernel32.getfilesize <br/> returns the specified file size </P> <p> call dword ptr [< & kernel32.getfileattributes>] kernel32.getfileattributes <br/> determine the attributes of a specified file </P> <p> call dword ptr [<& kernel32.getexitcodethread>] Abort <br/> to obtain an aborted thread </P> <p> call dword ptr [<& kernel32.getexitcodeprocess>] kernel32.getexi Tcodeprocess <br/> get the exit code of an interrupted process </P> <p> call dword ptr [<& kernel32.getenvironmentstrings>] kernel32.getenvironmentstringsa <br/> pointer to the system environment variable of the current process. </P> <p> call dword ptr [<& kernel32.getdiskfreespaceex>] kernel32.getdiskfreespaceex <br/> obtain information related to the Organization and remaining space of a disk </P> <p>> call dword ptr [<& kernel32.getcurrentthreadid>] kernel32.getcurrentthreadid <br/> obtain a unique thread identifier of the current thread </P> <p> call dword ptr [<& kernel3 2. getcurrentprocessid>] kernel32.getcurrentprocessid <br/> obtain a unique identifier of the current process </P> <p> call dword ptr [<& kernel32.getcurrentprocess>] kernel32.getcurrentprocess <br/> A pseudo handle. This pseudo handle can be used as long as the current process requires a process handle. The handle can be copied but cannot be inherited. You do not need to call the closehandle function to close this handle </P> <p> call dword ptr [<& kernel32.getcurrentdirectory>] kernel32.getcurrentdirectory <br/> load the current directory in a buffer </P> <p> call dword ptr [<& kernel32.getcpinfo>] kernel32.getcpinfo <br/> obtain information related to the specified code page </P> <p> call dword ptr [<& kernel32.getconsoleoutputcp>] kernel32.getconsoleoutputcp <br/> obtain the code page for console output </P> <p> call dword ptr [<& kernel32.getconsolemode>] kernel32.getconsolemode <br/> return to console input and output mode <br/> /P> <p> call dword ptr [<& kernel32.getconsolecp>] kernel32.getconsolecp <br/> enter the get code page for the console </P> <p> call dword ptr [<& kernel32.getcommandline>] kernel32.getcommandline <br/> obtain a pointer to the current command line buffer </P> <p> call dword ptr [<& kernel32.getacp>] kernel32.getacp <br/> the judgment is in effect. ANSI code page of </P> <p> call dword ptr [<& kernel32.freelibrary>] kernel32.freelibrary <br/> to release the specified dynamic link library, they were previously loaded using loadlibrary API functions </P> <p> call dword ptr [<& K Handler>] kernel32.freeenvironmentstrings <br/> translate the specified environment string </P> <p> call dword ptr [<& kernel32.formatmessage>] kernel32.formatmessage <br/> returns the getlasterror Error information (this error message is a numerical code) function to convert string Information </P> <p> call dword ptr [<& kernel32.flushinstructioncache>] kernel32.flushinstructioncache <br/> to rewrite the data in the cache to the main memory, allows the CPU to reload new commands before executing new commands </P> <p> call dword ptr [<& kernel32.flushfilebuffers>] kernel32.flus Hfilebuffers <br/> for the specified file handle, refresh the internal File Buffer </P> <p> call dword ptr [<& kernel32.findresource>] kernel32.findresource <br/> This function determines the resource location of the specified type and name in the specified module </P> <p> call dword ptr [<& kernel32.findnextfile>] kernel32.findnextfile <br/> Find the next file based on the file name specified when the findfirstfile function is called </P> <p> call dword ptr [<& kernel32.findfirstfile>] kernel32.findfirstfile <br/> this function is used in a folder (including subfolders) to search for a specified file, use the findfirstfileex function </P> <p> call Dword ptr [<& kernel32.findclose>] kernel32.findclose <br/> close a search handle created by the findfirstfile function </P> <p> call dword ptr [<& kernel32.exitthread>] kernel32.exitthread br/> abort a thread </P> <p> call dword ptr [<& kernel32.exitprocess>] kernel32.exitprocess <br/> abort a Process </P> <p> call DWORD PTR [<& kernel32.enumsystemlocales>] kernel32.enumsystemlocales <br/> enumeration system has been installed or supports Local Settings </P> <p> call dword ptr [<& kernel32.duplicatehandle>] Kernel32.duplicatehandle <br/> Create a New handle for an existing system object when the current handle is specified. The current handle may be in a different process </P> <p> call dword ptr [<& kernel32.deletefile>] kernel32.deletefile <br/> delete a specified file </P> <p> call dword ptr [<& kernel32.createthread>] kernel32.createthread <br/> Create a New thread based on the main thread </P> <p> call dword ptr [<& kernel32.createprocess>] kernel32.createprocess <br/> is used to create a new process and its main thread, this new process runs the specified Executable File </P> <p> call dword ptr [<& kernel32.createpipe>] kernel32.createpipe <br/> to create an anonymous pipeline. asynchronous operations are not allowed on the anonymous pipeline., therefore, for example, the number of writes in a pipe Data, and the buffer zone is full, unless another process reads data from the pipeline, thus freeing up the buffer space, otherwise, the write function will not return </P> <p> call dword ptr [<& kernel32.createmutex>] kernel32.createmutex <br/> to create a mutex) </P> <p> call dword ptr [<& kernel32.createfile>] kernel32.createfile <br/> This is a full-featured routine, you can open and create files, pipelines, folders, communication services, devices, and console buffers. </P> <p> call dword ptr [<& kernel32.createevent>] kernel32.createevent <br/> Create or open a named or unknown event object </P> <p> call dword ptr [<& kernel32.createdirectory>] Kernel 32. createdirectory <br/> Create a new directory </P> <p> call dword ptr [<& kernel32.copyfile>] kernel32.copyfile <br/> to copy the file. Similar to the filecopy command of VB </P> <p> call dword ptr [<& kernel32.comparestring>] kernel32.comparestring <br/> is set based on the text comparison for a specific "local" environment, compare two strings </P> <p> call dword ptr [<& kernel32.closehandle>] kernel32.closehandle <br/> to close a kernel object. These include file, file ing, process, thread, security, and synchronization object. </P> <p>

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.