API Function

30
1. API function of the network WNetAddConnection with the creation of a network of permanent link WNetAddConnection2 with the creation of a network connection WNetAddConnection3 with the creation of a network connection WNetCancelConnection the end of a network connection WNetCancelConnection2 the end of a network connection WNetCloseEnum the end of the first enumeration operation WNetConnectionDialog start of a standard dialog box in order to establish connections with the network resources WNetDisconnectDialog start of a standard dialog box in order to disconnect the connection with network resources WNetEnumResource enumeration of network resources WNetGetConnection access to local or connected to a network resource name WNetGetLastError access network expansion error error message WNetGetUniversalName access to a network of remote file name and / or UNC (Universal Naming norms) name WNetGetUser access to a network connection to the name WNetOpenEnum start of network resources to conduct the enumeration process 2. API function of the news BroadcastSystemMessage system will be a message broadcast system to all of the top-level window GetMessagePos queue to obtain information on a message that we have dealt with when the mouse pointer location of the screen GetMessageTime queue to obtain information on a message that we have dealt with when the time PostMessage a message will be delivered to a specific window of the message queue PostThreadMessage a message will be delivered to the application RegisterWindowMessage access to a string identifier assigned to the message ID ReplyMessage reply to a message SendMessage call a window of the window function, a message will be sent to the window SendMessageCallback will be sent a message window SendMessageTimeout window to send a message SendNotifyMessage window to send a message 3. API's document processing function

Transcript of API Function

Page 1: API Function

1. API function of the network WNetAddConnection with the creation of a network of permanent link WNetAddConnection2 with the creation of a network connection WNetAddConnection3 with the creation of a network connection WNetCancelConnection the end of a network connection WNetCancelConnection2 the end of a network connection WNetCloseEnum the end of the first enumeration operation WNetConnectionDialog start of a standard dialog box in order to establish connections with the network resources WNetDisconnectDialog start of a standard dialog box in order to disconnect the connection with network resources WNetEnumResource enumeration of network resources WNetGetConnection access to local or connected to a network resource name WNetGetLastError access network expansion error error message WNetGetUniversalName access to a network of remote file name and / or UNC (Universal Naming norms) name WNetGetUser access to a network connection to the name WNetOpenEnum start of network resources to conduct the enumeration process 2. API function of the news BroadcastSystemMessage system will be a message broadcast system to all of the top-level window GetMessagePos queue to obtain information on a message that we have dealt with when the mouse pointer location of the screen GetMessageTime queue to obtain information on a message that we have dealt with when the time PostMessage a message will be delivered to a specific window of the message queue PostThreadMessage a message will be delivered to the application RegisterWindowMessage access to a string identifier assigned to the message ID ReplyMessage reply to a message SendMessage call a window of the window function, a message will be sent to the window SendMessageCallback will be sent a message window SendMessageTimeout window to send a message SendNotifyMessage window to send a message 3. API's document processing function

Page 2: API Function

CloseHandle to close a core target. Including documents, maps, process, thread, security and synchronization objects, such as CompareFileTime comparison of the two papers time CopyFile to copy files CreateDirectory to create a new directory CreateFile open and create documents, pipeline, mail slot, communications services, equipment and console CreateFileMapping to create a new document mapping target DeleteFile to delete the specified files DeviceIoControl on the implementation of the equipment designated by the operation DOS will DosDateTimeToFileTime the date and time value into a value win32 FILETIME FileTimeToDosDateTime a win32 FILETIME value of the DOS into the date and time value FileTimeToLocalFileTime a FILETIME structure to the cost of conversion time FileTimeToSystemTime according to a FILETIME structure, a loading structure SYSTEMTIME FindClose to close by the FindFirstFile function to create a search handle FindFirstFile According to the document file name to find According to the FindNextFile call FindFirstFile function of a specified file name to find the next file FlushFileBuffers designated for the file handle, set within the buffer zone file FlushViewOfFile document will be written into the buffer zone map of all the data to the disk set GetBinaryType to determine whether the documents can be implemented GetCompressedFileSize judge in a compressed file on the disk occupied by the actual number of bytes GetCurrentDirectory loaded in a buffer zone in the current directory GetDiskFreeSpace access to a disk with information about the organization, as well as the capacity to understand the remaining space GetDiskFreeSpaceEx access to a disk with the organization as well as the remaining capacity of the space-related information GetDriveType a disk drive to determine the type of GetExpandedName to obtain a compressed file full name GetFileAttributes designated to determine the properties of paper GetFileInformationByHandle this function provides access to

Page 3: API Function

information documents a mechanism GetFileSize determine the length of documents GetFileTime to obtain the documents specified time information GetFileType given in the paper handles the premise, to determine the type of document GetFileVersionInfo support from the tag version of a paper version of the module, access to information GetFileVersionInfoSize version includes resources for a paper version of the document to accommodate the information to determine the need for a little buffer GetFullPathName access to the document specified the full path name GetLogicalDrives system to determine what the logical drive letter GetLogicalDriveStrings access to a string, which contains all the logic of the current drive to the root drive path GetOverlappedResult an overlap to determine the current operating state GetPrivateProfileInt for the initialization file (. Ini file) specified in the entry to obtain an integer value GetPrivateProfileSection access to the designated section (in. Ini file) all items of value and a list of GetPrivateProfileString for the initialization file specified in the entry made string GetProfileInt made win.ini initialization file specified in the entry of an integer value GetProfileSection access to the designated section (in the win.ini file) all items of value and a list of GetProfileString for initialization win.ini file specified in the entry made string GetShortPathName access to the documents specified a short path name GetSystemDirectory get Windows system directory (that is, the System directory) of the full path name GetTempFileName function that includes a temporary file name, it may be the use of applications GetTempPath obtain a temporary file path specified GetVolumeInformation access to a disk and volume-related information GetWindowsDirectory access to the Windows directory full path name hread reference lread hwrite reference function lwrite lclose designated by the closure of the paper Create a file lcreat llseek settings file Reading and Writing for the current

Page 4: API Function

location LockFile part of a locked file so that it is not shared with other applications LockFileEx and LockFile similar, but it provides more functionality lopen binary mode to open the specified file lread document will be read into the data in the memory buffer lwrite data from the memory buffer to write a paper LZClose by the closure of LZInit or LZOpenFile function to open a file LZCopy copy of a document LZInit this function within the buffer zone used to initialize LZOpenFile the function to carry out a large number of different document processing, but also compatible to the compressed file LZRead data from the document read into the buffer memory LZSeek set up a file for reading and writing in the current location MapViewOfFile a document mapping the object is mapped to the current application of the address space MoveFile mobile document OpenFile this function to carry out a large number of different file operations OpenFileMapping ready to open a document mapping target QueryDosDevice in Windows NT in, DOS device name will be mapped into NT systems of equipment. The function can judge the current situation in mapping equipment ReadFile from the document Duchushuju ReadFileEx with ReadFile similar, but it can only be used for asynchronous read operation, and includes a complete callback RegCloseKey closure of the registry system, a key (or keys) RegConnectRegistry visit to a remote part of the system registry RegCreateKey under the specified create or open an item RegCreateKeyEx specified under the new creation of a more complex way. In the Win32 environment, recommend the use of this function RegDeleteKey to delete the existing one at the bottom of the designated sub-items RegDeleteValue delete items below a specified value RegEnumKey enumeration of designated sub-items. In the Win32 environment should be used RegEnumKeyEx RegEnumKeyEx enumeration of designated at the bottom of the sub-item

Page 5: API Function

RegEnumValue enumeration of the specified value RegFlushKey will and its sub-items to make changes to the actual disk write RegGetKeySecurity with access to a registry of security-related information RegLoadKey from the previous RegSaveKey function with the creation of a document containing information registry RegNotifyChangeKeyValue registry or any of its sub-items of a change, use this function to provide a notification mechanism RegOpenKey to open an existing registry entries RegOpenKeyEx to open an existing item. In the next win32 recommended this function RegQueryInfoKey access and a related information RegQueryValue or to obtain a sub-item of default (unnamed) value RegQueryValueEx acquisition of a set of values RegReplaceKey disk with a file of information to replace registry information; and to create a backup, including in the current registry information RegRestoreKey from one disk to restore the registry file information RegSaveKey one item, as well as all of its sub-items are saved to a disk file RegSetKeySecurity designated set of security features RegSetValue or designated sub-set of default value RegSetValueEx designated set of values RegUnLoadKey designated by the unloading of all, as well as its sub-items RemoveDirectory to delete the specified directory SearchPath find the specified file SetCurrentDirectory set the current directory SetEndOfFile for an open document, the current location of the document is set at the end of the document SetFileAttributes set file attributes SetFilePointer in a document setting the current location of the reading and writing SetFileTime create a set of documents, interviews and last modified SetHandleCount this function does not have to use win32; even if the use does not have any effect SetVolumeLabel a set of disk label (Label) SystemTimeToFileTime according to a FILETIME structure, the structure included in a SYSTEMTIME UnlockFile lifting of a locked file UnlockFileEx lifting of a locked file UnmapViewOfFile in the current application of the memory

Page 6: API Function

address space for the lifting of a document mapping object mapping VerFindFile decided to use this function should be to install a file where VerInstallFile use this function to install a file VerLanguageName be able to function in accordance with the 16-bit code language to obtain the name of the language VerQueryValue for this function from the version of access to information resources WriteFile data will be written into a document WriteFileEx and WriteFile similar, but it can only be used to write asynchronous operation, and includes a complete callback WritePrivateProfileSection an initialization file (. Ini) specified in the section set of all values and WritePrivateProfileString initialization file specified in the section set up a string WriteProfileSection for the Win.ini file to initialize a designated section of all the settings and values WriteProfileString in the Win.ini file initialization settings within the designated section of a string 4. API's print function AbortDoc cancel a print document AbortPrinter and delete a printer associated with the file buffer AddForm form of a list of printers to add a new form AddJob used to obtain an effective path, in order to use it for the printing operations to create a background document. It will also work for the distribution operations of a number AddMonitor system to add a printer monitor AddPort start the "Add Port" dialog box, the system allows users to the list of available ports to add a new port AddPrinter in the system to add a new printer AddPrinterConnection designated printer connection AddPrinterDriver designated for the system to add a print driver AddPrintProcessor designated for the system to add a print processor AddPrintProvidor system to add a print provider AdvancedDocumentProperties start document printer settings dialog box ClosePrinter closed to open a printer object ConfigurePort designated for the port, a port configuration dialog box to start

Page 7: API Function

ConnectToPrinterDlg start to connect the printer dialog box, use it to access the same network printer connections DeleteForm printers available from the form of a list form DeleteMonitor to delete the specified print monitor DeletePort start "to remove port" dialog box that allows users to delete from the current system, a port DeletePrinter will be designated by the printer for the signs be removed from the system DeletePrinterConnection to delete the printer connected with the designated DeletePrinterDriver deleted from the system, a printer driver DeletePrintProcessor from the designated system to delete a printing processor DeletePrintProvidor from the system to delete a print provider DeviceCapabilities use of the available functions and the ability of a device-related information DocumentProperties printer configuration control function EndDocAPI the end of a successful print job EndDocPrinter Print Spooler in the document to specify a level of the end of the EndPage use this function to complete a page of print and equipment to prepare the scene in order to print the next page EndPagePrinter specify a page in the print job in the end EnumForms enumerate a printer available form EnumJobs enumeration in the print queue operation EnumMonitors enumeration can be used to print the Monitor EnumPorts enumeration of a system available port EnumPrinterDrivers designated enumeration system has been installed in the printer driver EnumPrinters enumeration system installed in the printer EnumPrintProcessorDatatypes enumerated by the print processor to support a data type EnumPrintProcessors enumeration system can be used in the print processor Escape device control function FindClosePrinterChangeNotification closed FindFirstPrinterChangeNotification function with access to a printer circular object FindFirstPrinterChangeNotification to create a new circular to change the target so that we pay attention to the printer status changes FindNextPrinterChangeNotification used to determine the function printers to trigger a signal change notice of the reasons

Page 8: API Function

FreePrinterNotifyInfo released by the FindNextPrinterChangeNotification distribution function of a buffer zone GetForm made with the designated form-related information GetJob access to the designated operations and related information GetPrinter made with the designated printer-related information GetPrinterData registry settings for the printer configuration information GetPrinterDriver designated for printers, printer driver and access to relevant information GetPrinterDriverDirectory judge designated system includes a printer driver directory of what is GetPrintProcessorDirectory judge designated system includes a processor printer driver files and directories OpenPrinter open the designated printer, and access to the printer handle PrinterMessageBox in the print job has a designated system to show a printer error message box PrinterProperties start the printer properties dialog box in order to configure the printer ReadPrinter read data from the printer ResetDC reset a device scene ResetPrinter change the default printer specified types of data files and settings ScheduleJob submitted to a printing operation SetAbortProc for the abolition of the designated function of the Windows Address SetForm specified form settings for information SetJob of a print job status control SetPrinter on the status of a printer control SetPrinterData set up the printer configuration information registry StartDoc to start a print job StartDocPrinter print in the background level of the start of a new document A StartPage printing a new page before calling the function StartPagePrinter in the print job is specified in the beginning of a new page WritePrinter will send the directory data into the printer 5. API of the text font and function AddFontResource in the Windows system to add a font of resources CreateFont designated by the property to create a logical

Page 9: API Function

font CreateFontIndirect designated by the property to create a logical font CreateScalableFontResource a TureType fonts to create a resource document in order to use API function AddFontResource its accession to the Windows system DrawText text will be painted to a specific rectangular in DrawTextEx and DrawText similar, but adding more features EnumFontFamilies designated list of equipment available fonts EnumFontFamiliesEx designated list of equipment available fonts EnumFonts designated list of equipment available fonts ExtTextOut through the expansion of the text describing the function. Please refer to the function also SetTextAlign GetAspectRatioFilterEx request SetMapperFlags with Windows only with the choice of equipment in line with the aspect ratio of the current raster fonts, this function can judge small aspect ratio GetCharABCWidths judge TureType fonts in one or more of the character of the size ABC GetCharABCWidthsFloat characters in a query to one or more characters of the size ABC GetCharacterPlacement learn how to use this function with a given string of characters that a GetCharWidth investigation fonts in one or more of the width of the characters GetFontData receive a scalable font file data GetFontLanguageInfo return to the current opt-specified device font scenarios information GetGlyphOutline made TureType font of the characters in a curve information GetKerningPairs to obtain a font of information kerning GetOutlineTextMetrics receive TureType fonts and internal features of the details GetRasterizerCaps understanding of the system's ability to support scalable fonts GetTabbedTextExtent a string to determine the scope of the occupation, taking tabulation stop the expansion of the factors GetTextAlign scene equipment to receive a copy of the current alignment mark GetTextCharacterExtra additional characters to judge the distance between the current value GetTextCharset to receive the current opt-scenes equipment specified font character set identifier GetTextCharsetInfo access to the current selection of fonts

Page 10: API Function

and character set-related details GetTextColor to determine the current font color. Usually referred to as "Foreground" GetTextExtentExPoint judge to fill in the designated area of the number of characters. Also loaded with an array of characters in each of the scope of information GetTextExtentPoint a string to determine the size of the (scope) GetTextFace access to a font of the words GetTextMetrics access into the election with a scene of physical device font-related information GrayString painted gray to a string of shows. Windows logo usually used to prohibit the state PolyTextOut described a series of string RemoveFontResource from the Windows system to delete a font of resources SetMapperFlags Windows fonts on the map, can be used to choose the functions and objectives of equipment in line with the aspect ratio of grating characters SetTextAlign set text alignment, and designated in the text output in the process of using the device's current location of the scene SetTextCharacterExtra described the text, specify the characters inserted between the additional space SetTextColor to set the current text color. This color is also known as "Foreground" SetTextJustification through a designated line of text should take the extra space can be used to carry out the function of the text dealing with both ends of the alignment TabbedTextOut support for the tabulation of the station described the text of a function TextOut text mapping function 6. API on the menu function AppendMenu specified in the menu, add a menu item CheckMenuItem check or check to withdraw the designated menu items CheckMenuRadioItem menu items to be designated a check as a "radio" CreateMenu create a new menu CreatePopupMenu to create a space of the pop-up menu DeleteMenu to delete the specified menu items DestroyMenu to delete the specified menu DrawMenuBar designated for the re-drawing of the window menu EnableMenuItem to allow or prohibit the designated menu items

Page 11: API Function

GetMenu get a window handle the menu GetMenuCheckMarkDimensions a menu to return to check the size of the site GetMenuContextHelpId get a menu of the scene to help ID GetMenuDefaultItem to determine which of the menu items is the default entry GetMenuItemCount return to the menu items (menu item) the number of GetMenuItemID return to the menu at the designated position of the menu items ID GetMenuItemInfo made (receiver) and a menu entries related to the specific information GetMenuItemRect in a rectangular load in the designated entry in the menu screen coordinates information GetMenuState designated menu items made with the state-related information GetMenuString to obtain a string of menu items GetSubMenu get a pop-up menu handle, which is located in the menu to specify the location of GetSystemMenu to obtain a window handle the menu system Control menu entries HiliteMenuItem top of the display highlighting the state InsertMenu menu at the designated position to insert a menu entry, and in accordance with the needs of the other entries down InsertMenuItem insert a new menu entry IsMenu to determine whether or not designated as a handle to handle the menu LoadMenu from the specified module or application examples include a menu LoadMenuIndirect included in a menu MenuItemFromPoint judge which of the menu contains entries on the screen of a designated point ModifyMenu change menu items RemoveMenu to delete the specified menu items SetMenu window settings menu SetMenuContextHelpId to set up a menu of the scene to help ID SetMenuDefaultItem a menu entry set to the default entry SetMenuItemBitmaps set a specific bitmap, it specified the use of the menu items, instead of the standard check symbol (√) SetMenuItemInfo a menu entry setting the specified information TrackPopupMenu any place on the screen display a pop-up menu TrackPopupMenuEx and TrackPopupMenu similar, but it provides additional functionality

Page 12: API Function

7. API of bitmaps, icons and grating computing function BitBlt to a bitmap copy from one device to another scene CopyIcon production designated icon or a copy of the mouse pointer. The call issued by the subordinate to a copy of the application CopyImage copy bitmaps, icons or indicators, while in the process of copying some conversion work CreateBitmap in accordance with the provisions of the format and equipment related to the creation of a bitmap CreateBitmapIndirect and equipment related to the creation of a bitmap CreateCompatibleBitmap and equipment related to the creation of a bitmap, which designated the scenes of compatible equipment CreateCursor to create a mouse pointer CreateDIBitmap based on a device-independent bitmap and equipment related to the creation of a bitmap CreateDIBSection create a DIBSection CreateIcon to create a logo CreateIconIndirect to create a logo DestroyCursor designated by the removal of the mouse pointer, and the release of its occupation of all system resources DestroyIcon clear icon At the designated position DrawIcon painting an icon DrawIconEx or icon depicting a mouse pointer. DrawIcon and compared this function to provide more functionality ExtractAssociatedIcon an executable program to determine whether there is or DLL icon, or whether there is a icon with the system registry specified in the document the existence and relevance of extraction ExtractIcon an executable file to determine whether or DLL icon exists, and extracted GetBitmapBits from bitmap to copy the binary bit of a buffer zone GetBitmapDimensionEx made a bitmap of the width and height GetDIBColorTable opt-in equipment from the scene of DIBSection made in the color table information GetDIBits will come from a binary bitmap-to copy a device-independent bitmap, GetIconInfo icon with access to relevant information GetStretchBltMode judge StretchBlt and StretchDIBits function of the use of flexible model LoadBitmap from the specified module or application examples include a bitmap

Page 13: API Function

LoadCursor from the specified module or application examples include a mouse pointer LoadCursorFromFile pointer in a document or an animation file pointer on the basis of the creation of a pointer LoadIcon from the specified module or application examples include an icon LoadImage to load a bitmap, icon or indicator MaskBlt the implementation of complex image transmission, at the same time mask (MASK) to deal with PatBlt the current brush selected on the basis of a pattern designated by the equipment-filled scenes PlgBlt to copy a bitmap, at the same time convert it into a parallelogram. It can be bitmap carried out on rotation to deal with SetBitmapBits from the buffer zone of binary digital copy to a bitmap SetBitmapDimensionEx set the width of a bitmap. 1 millimeter to one-tenth of the unit SetDIBColorTable set up an opt-in equipment DIBSection scene of a color table information From the equipment SetDIBits has nothing to do with the binary bitmap-to reproduce with a bitmap-related equipment, SetDIBitsToDevice will be a device-independent bitmap in whole or in part to copy data directly to a device SetStretchBltMode designated StretchBlt and StretchDIBits function of the expansion mode StretchBlt to a bitmap copy from one device to another scene StretchDIBits will be a device-independent bitmap in whole or in part to copy data directly to a specific scene equipment 8. API function of the graphics AbortPath opt to abandon the scene of equipment specified in the path of all. Also cancel any ongoing work to create the path AngleArc an arc to connect a line drawing An arc Arc paintings BeginPath start a branch of the path CancelDC cancel another thread in the mapping operation for a long time Chord painting of a string CloseEnhMetaFile designated by the closure of the Enhanced Metafile scene equipment, and new Metafile return a handle CloseFigure to describe a path, the current closure of the open graphics CloseMetaFile designated by the closure of the Metafile

Page 14: API Function

scene equipment, and new Metafile return a handle CopyEnhMetaFile designated to produce enhanced metafile a copy of the (copy) CopyMetaFile designated production (standard) Metafile a copy of the CreateBrushIndirect in LOGBRUSH a data structure on the basis of the creation of a brush CreateDIBPatternBrush with a device-independent bitmap to create a brush, brush in order to specify the style (pattern) CreateEnhMetaFile creation of an enhanced metafile equipment Scene CreateHatchBrush the shadow patterns created with a brush CreateMetaFile to create a scene equipment Metafile CreatePatternBrush designated by the brush of a bitmap images to create a brush CreatePen designated by the style, color and width to create a brush According to the CreatePenIndirect designated LOGPEN structure to create a brush CreateSolidBrush to create a solid color with brush DeleteEnhMetaFile delete designated Enhanced Metafile DeleteMetaFile to delete the specified Metafile DeleteObject to delete GDI object, the object of the use of all system resources will be released DrawEdge designated by the style of a painted rectangular frame DrawEscape escape (Escape) function data directly to the display device driver Painting a Rectangle focus DrawFocusRect DrawFrameControl describe a standard control DrawState for an image or graphics application to operate a wide range of effects Ellipse painted an oval, rectangular designated by the surrounding EndPath stop the definition of a path EnumEnhMetaFile for an enhanced metafile, which cited a separate metafile record EnumMetaFile as a standard windows Metafile separate enumeration of the metafile record EnumObjects enumeration can be designated along with equipment used by scenes of the brush and brush ExtCreatePen extended to create a brush (or geometric decoration) ExtFloodFill equipment in the designated scene, with the current selection of a brush-filled area FillPath to close any open the path of graphics, and the

Page 15: API Function

current brush-filled FillRect designated by a brush-filled rectangular FlattenPath a path all the curves are converted into segments FloodFill with the currently selected brush at the specified device to fill a scene in the region FrameRect designated by the brush around a rectangular frame of a painting GdiComment designated for the Enhanced Metafile equipment scenes add a note of information GdiFlush the implementation of any outstanding graphics operation GdiGetBatchLimit to determine the number of GDI drawing commands at the queue The number of designated GdiSetBatchLimit graphics GDI order to enter the queue GetArcDirection arc paintings, drawings used to determine the current direction GetBkColor equipment to obtain a scene of the current background color GetBkMode equipment designated for the scene, made to fill the background of the current model GetBrushOrgEx designated equipment to determine the current scene selected brush starting point GetCurrentObject was designated types of the currently selected object GetCurrentPositionEx equipment in the designated scene to obtain the current location of the brush GetEnhMetaFile disk access to documents contained in an enhanced metafile handle the metafile GetEnhMetaFileBits will be designated by the Enhanced Metafile copy to a memory buffer in GetEnhMetaFileDescription return for an enhanced metafile note GetEnhMetaFileHeader achieve enhanced metafile of the first Metafile GetEnhMetaFilePaletteEntries achieve enhanced metafile all or part of the palette GetMetaFile to obtain a disk included in the document of the Metafile Metafile handle GetMetaFileBitsEx will be designated by the metafile copy to a memory buffer GetMiterLimit to obtain equipment restrictions on the slope of the scene (Miter) set GetNearestColor equipment in accordance with the display capability, and access to the nearest designated color of a solid color

Page 16: API Function

GetObjectAPI made to the designated target for a description of the structure GetObjectType designated by the judge cited the GDI handle the type of target GetPath made on the current path defined by a series of data GetPixel equipment in the designated scene to obtain a pixel RGB value GetPolyFillMode equipment designated for the scene to obtain Polygon fill mode Facilities GetROP2 for the designated scene, to obtain the current graphics mode GetStockObject to obtain a natural object (Stock) GetSysColorBrush for any of the standard color system to obtain a brush GetWinMetaFileBits through a buffer to fill in for the standard metafile data will be an enhanced metafile converted to standard windows metafile InvertRect through the inversion of the value of each pixel in order to reverse a scene of equipment specified in the rectangular LineDDA enumeration of all segments designated point LineTo with the current number of strokes of a painting line, even from its current location to a designated point MoveToEx equipment designated for the designation of a new scene of the current location of the brush PaintDesk equipment in the designated scene depicting the desktop wallpaper designs PathToRegion the current path chosen by the conversion to a region Pie painting of a pie chart PlayEnhMetaFile equipment in the designated scene in a painting Enhanced Metafile PlayEnhMetaFileRecord playback of a separate enhanced metafile record PlayMetaFile equipment in the designated scene in a replay Metafile PlayMetaFileRecord playback from a single metafile records PolyBezier depict one or more Bessel (Bezier) curve PolyDraw describe a complex curve, Bezier curves and line segments by the composition of the Polygon depicts a polygon Polyline painted with the brush of the current series of line segments PolyPolygon painted with the brush of the current selection of two or more polygons PolyPolyline painted with the brush of the current selection of two or more polygons

Page 17: API Function

Rectangle with the currently selected brush painted rectangle, and the currently selected brush-filled RoundRect with selected paintings present a rounded rectangular strokes, and the currently selected brush to fill in SelectClipPath equipment to the scene of the current path cut into the area SelectObject equipment for the current scene selection graphic object SetArcDirection describe the arc to set the direction of SetBkColor designated for the device to set the scene background color SetBkMode designated shadow brush, brush dotted line and characters to fill the gap in the way SetBrushOrgEx equipment designated for the scenes set the starting point for the currently selected brush SetEnhMetaFileBits designated by the memory buffer zone that contains the data to create an enhanced metafile SetMetaFileBitsEx use is included in the designated buffer memory data structure to create a Metafile SetMiterLimit equipment set up scenes of the current restrictions on the slope SetPixel equipment in the designated scene to set up a pixel RGB value SetPixelV equipment in the designated scene to set up a pixel RGB value SetPolyFillMode set of polygon fill mode SetROP2 designated set of drawings of equipment scene modes. Vb and the property is fully consistent DrawMode SetWinMetaFileBits a standard Windows Metafile into Enhanced Metafile StrokeAndFillPath equipment designated for the scene to close the path to open all the region StrokePath painted with the brush of the current outline of a path. Open graphics function that will not be closed UnrealizeObject a brush object into the election equipment prior to the scene, as the starting point of brush to use to amend SetBrushOrgEx, you must call this function WidenPath selected based on the width of the brush, to redefine the currently selected path 9. API function of the equipment scene CombineRgn combination of the two regions for a new regional CombineTransform drive the conversion of the world. It is equivalent to twice the order in accordance with the conversion

Page 18: API Function

CreateCompatibleDC to create a scene of equipment in line with the specific memory devices Scene CreateDC equipment to create specialized equipment for the scene CreateEllipticRgn oval to create a CreateEllipticRgnIndirect to create a rectangle inscribed in a particular region of the oval CreateIC special equipment for the information to create a scene CreatePolygonRgn to create a point surrounded by a series of regional CreatePolyPolygonRgn created by a number of polygons constitute the region. Each polygon should be closed CreateRectRgn to create a rectangular region CreateRectRgnIndirect to create a rectangular region CreateRoundRectRgn to create a rounded rectangular DeleteDC deleted scenes and special equipment or information on the scene, the release of all relevant resources window DPtoLP dot matrix will coordinate transformation equipment from the special equipment to the scene logical coordinates EqualRgn the two regions to determine whether or not the same ExcludeClipRect special equipment from the scene cut away a rectangular area in the district. Can not be carried out within the rectangular drawing ExcludeUpdateRgn from special equipment to remove scenes Tailoring area designated window of the region refresh According to the World ExtCreateRegion conversion to amend the region Combination ExtSelectClipRgn designated area will be the scene of the equipment to the current crop area FillRgn brushes with the designated filling in designated areas FrameRgn designated by brush painting of a designated area around the frame GetBoundsRect access to the scene of the equipment specified rectangular border GetClipBox full access to the specified device that contains cut scenes of the smallest rectangular area GetClipRgn access to the scene of the current crop area equipment GetDC access to the designated windows scene equipment GetDCEx designated as a window to obtain equipment scene. Compared to GetDC, this function provides more options GetDCOrgEx access to designated locations device starting point for the scene (to screen coordinates) GetDeviceCaps according to the specified device on behalf of

Page 19: API Function

the scene of the equipment to return to the function of information GetGraphicsMode to determine whether to allow enhanced graphics mode (world converting) GetMapMode for specific equipment transferred to the image scene modes A regional GetRegionData into the description of the information or the structure of the buffer zone RgnData GetRgnBox full access to the designated area contains the smallest rectangle GetUpdateRgn refresh the window to determine the designated region. The current void in the region, the need to refresh GetViewportExtEx access to equipment, as the scenes I (viewport) range GetViewportOrgEx access to port facilities, as the starting point for the scene GetWindowDC access to the entire window (including borders, scroll bars, title bar, menus, etc.) equipment Scene GetWindowExtEx access to equipment designated windows scene of the scope of GetWindowOrgEx access to equipment designated windows scene of the logical starting point GetWindowRgn window access to the region GetWorldTransform if the conversion of the world, in order to obtain the current world scene equipment conversion IntersectClipRect equipment designated for the definition of a new crop area InvalidateRgn window so that the activities of non-designated areas and will add it to refresh the window area so that it can then be re-drawn InvertRgn every pixel upside down through the value of the reverse scenario equipment in designated areas Dot matrix will LPtoDP from the specified device coordinates into a scene logic device coordinates ModifyWorldTransform designated in accordance with the mode of amending the conversion of the world OffsetClipRgn specified amount of translation equipment cut scenes District OffsetRgn offset by the designated shift in designated areas OffsetViewportOrgEx translation equipment, as the scene of regional population OffsetWindowOrgEx translation equipment designated windows scene starting point PaintRgn brush with the current background color to fill in designated areas PtInRegion determine whether the point in the designated areas

Page 20: API Function

PtVisible designated point to determine whether or not we can see (that is, in point of equipment in the region cut scenes) RectInRegion determine whether there is a part of the rectangle in the designated areas RectVisible determine whether there is a designated part of the rectangle can be seen (whether or not the equipment in the region cut scenes) ReleaseDC released by the GetDC call or function GetWindowDC access to the equipment specified scene RestoreDC equipment from the scene to restore a stack of equipment to preserve the original scene SaveDC equipment will be designated a state to preserve the scene to Windows device stack scene ScaleViewportExtEx scaling equipment, as the scene of the mouth area ScaleWindowExtEx zoom window scene equipment designated area ScrollDC in the window (by the equipment on behalf of the scene), and (or) vertical rectangle rolling SelectClipRgn equipment designated for the scene to choose a new crop area SetBoundsRect set of equipment specified scene rectangular border SetGraphicsMode to allow or prohibit the enhanced graphics mode to provide some support (including the conversion of the World) SetMapMode set the scene mapping equipment designated model SetRectRgn set for the region designated by the rectangular SetViewportExtEx equipment to set the scene as the scope of the mouth SetViewportOrgEx equipment to set the scene as the starting point for the mouth SetWindowExtEx equipment set up designated windows scene area SetWindowOrgEx equipment set up designated windows scene starting point SetWindowRgn regional settings window SetWorldTransform set up conversion of the world ValidateRgn activation window specified in the region, it removed from the zone set WindowFromDC back with a scene of equipment related to the window handle 10. API function of the hardware and system ActivateKeyboardLayout activation of a new keyboard layout. Keyboard layout of the buttons in the definition of a

Page 21: API Function

physical keyboard and the location of the meaning of Beep used to generate simple voice CharToOem a string from the ANSI character set conversion to the OEM character set ClipCursor pointer will be restricted to designated areas ConvertDefaultLocale will be a special place identifier into the local real ID CreateCaret according to the specified information to create a site insert (cursor), it will be selected as the designated window at the default Insert Clear DestroyCaret (damage) to insert a site EnumCalendarInfo enumeration in the designated "local" environment calendar information available EnumDateFormats designated list of "local" setting can be used in the long and short date format EnumSystemCodePages enumeration system has been installed or supported by the code page EnumSystemLocales enumeration system has been installed to provide support or "local" setting EnumTimeFormats enumeration of a designated place where the application of the time format ExitWindowsEx from the windows, and a specific option restarted ExpandEnvironmentStrings expansion of the environment string Translation FreeEnvironmentStrings designated by the Environmental string block GetACP judge is currently the entry into force of the ANSI code page GetAsyncKeyState function call to determine when the designated virtual key state GetCaretBlinkTime to determine Insert at the cursor blinking frequency GetCaretPos to determine Insert at the current location GetClipCursor to obtain a rectangle, is used to describe the current provisions of the mouse pointer to cut the region GetCommandLine point to the current command-line access to the buffer zone as a pointer GetComputerName to obtain the name of this computer GetCPInfo made with the designated code page-related information GetCurrencyFormat designated for "local" setting, according to the currency format to format a number of GetCursor access to the mouse pointer is currently chosen by the handle Acquisition of GetCursorPos the mouse pointer from its current location GetDateFormat designated for "local" format, a system date

Page 22: API Function

format GetDoubleClickTime to judge between the two mouse click will be processed into double-time events GetEnvironmentStrings to contain the current environment of a string of set pieces of memory allocation and return a handle GetEnvironmentVariable to obtain an environment variable's value GetInputState to determine whether there are any pending (pending) of the mouse or keyboard events GetKBCodePage by GetOEMCP to replace the two functions exactly the same GetKeyboardLayout get a handle, described in the application of the designated keyboard layout GetKeyboardLayoutList system was applicable to all the keyboard layout of a list GetKeyboardLayoutName the current activities of the keyboard layout to obtain the name of the GetKeyboardState made each of the virtual keyboard on the current state of key GetKeyboardType understanding and are using the keyboard-related information GetKeyNameText scan is given in the code under the premise that key judgments were GetKeyState for keys which have been processed in the most recent information input, the designated judge of the state of virtual keys GetLastError prior to the call for the api function, use this function to expand access to error messages GetLocaleInfo made with the designation "local" information GetLocalTime to obtain local date and time GetNumberFormat designated for "local", according to the specific format of a digital format GetOEMCP judge in the OEM and ANSI character set conversion between the windows code page GetQueueStatus to judge applications pending in the message queue (pending) of the type of information GetSysColor designated to determine the object's color display windows GetSystemDefaultLangID system to obtain the default language ID GetSystemDefaultLCID to obtain the current default system, "local" GetSystemInfo made with the underlying hardware platform-related information GetSystemMetrics return to windows and environment-related information

Page 23: API Function

GetSystemPowerStatus access to the current state of the power system-related information GetSystemTime made the current system, this time using the "time in collaboration with the World" (UTC, also known as GMT) format GetSystemTimeAdjustment so that the internal system clock and an external clock signal synchronization GetThreadLocale get a place of the current thread ID GetTickCount for access to windows from the start since going through the length of time (in milliseconds) GetTimeFormat the current designation of "local", according to a specific format to format a system of time GetTimeZoneInformation made with the system set the time zone information GetUserDefaultLangID for the current user ID to obtain the default language GetUserDefaultLCID to obtain the current user's default "local" setting GetUserName to obtain the current user's name GetVersion judge is currently running versions of Windows and DOS GetVersionEx made with the platform and operating system version of the information HideCaret specified in the window insert hidden Fu (cursor) IsValidCodePage to judge the effectiveness of a code page IsValidLocale to judge the effectiveness of local identifier keybd_event function that simulates the keyboard action LoadKeyboardLayout included in a keyboard layout MapVirtualKey designated in accordance with the type of map, the implementation of the different characters and the conversion code scanning MapVirtualKeyEx designated in accordance with the type of map, the implementation of the different characters and the conversion code scanning MessageBeep play a sound system. Sound system of distribution in the Control Panel's decision, mouse_event simulate a mouse event OemKeyScan determine an OEM character set ASCII character code and scan the Shift key state OemToChar to OEM character set a string to the ANSI character set conversion SetCaretBlinkTime insert designated site (cursor) of the frequency of blinking SetCaretPos inserted at the designated location SetComputerName new computer name SetCursor will be designated by the mouse pointer as the current indicators

Page 24: API Function

SetCursorPos pointer to set the location of SetDoubleClickTime set up between the two mouse-click system that can be double-time events SetEnvironmentVariable environment variable is set to a specified value SetKeyboardState each set of virtual keys on the keyboard in the current state of SetLocaleInfo the user to change the "local" set of information SetLocalTime set the current local time SetSysColors set up designated window display of color objects SetSystemCursor change any of the standard system of indicators SetSystemTime set up the current system time SetSystemTimeAdjustment from time to time a added value of calibration so that the internal system clock and an external clock signal synchronization SetThreadLocale place settings for the current thread SetTimeZoneInformation the system time zone information ShowCaret specified in the window display at Insert (cursor) ShowCursor control the mouse pointer visibility SwapMouseButton decide whether to swap the mouse around the key functions SystemParametersInfo access and set up a large number of windows system parameters SystemTimeToTzSpecificLocalTime time the system will be converted to local time ToAscii under the current code scanning and keyboard, a virtual keys into ASCII characters ToUnicode in the light of current code scanners and keyboards, will be converted into a virtual key Unicode characters UnloadKeyboardLayout unloading designated by the keyboard layout VkKeyScan for a Windows character set ASCII characters, to determine the virtual key code and the Shift key state 11. API function of the process and thread CancelWaitableTimer this function can be used to cancel a wait timer operation CallNamedPipe hope that the function of a communications channel through the process of a customer call ConnectNamedPipe direct a server to wait until the client with the naming of a pipeline to connect CreateEvent to create an event object

Page 25: API Function

CreateMailslot the creation of a postal route. Postman's return to the server by using the handle (the recipient) CreateMutex to create a mutex (MUTEX) CreateNamedPipe to create a named pipe. Return to handle the pipeline by the use of server-side CreatePipe create an anonymous pipe CreateProcess to create a new process (such as the implementation of a program) CreateSemaphore create a new signal CreateWaitableTimer create a timer to wait for the target DisconnectNamedPipe disconnect a customer with a named pipe connections DuplicateHandle in an existing system that handles the current object, that object to create a new handle ExitProcess a suspension of the process FindCloseChangeNotification the closure of a change to be notified FindExecutable to find documents associated with a specified procedure with the file name FindFirstChangeNotification to create a document to be notified. The object used to monitor file system changes FindNextChangeNotification reset to change a file to be notified so that it continues to monitor changes in the next FreeLibrary the release of specified dynamic-link library GetCurrentProcess access to the current process of a pseudo-handle GetCurrentProcessId the current process of obtaining a unique identifier GetCurrentThread access to the current thread of a pseudo-handle GetCurrentThreadId access to the current thread a unique identifier thread GetExitCodeProces have access to an interruption of the process from the code GetExitCodeThread access to a suspension of the thread from the code GetHandleInformation access to a system and handle the object-related information GetMailslotInfo a postal routes and access to relevant information GetModuleFileName access to a template containing the full path name GetModuleHandle obtain an application or dynamic link library module handle GetPriorityClass access to a particular process, the priority level GetProcessShutdownParameters investigation shut down the

Page 26: API Function

system when a specified process, as opposed to other processes to close the case as early as late GetProcessTimes acquisition process with a time-related information GetProcessWorkingSetSize an understanding of the application running in the course of the actual delivery of it to how much memory capacity GetSartupInfo start of a process to obtain information GetThreadPriority access to a particular thread priority level GetTheardTimes with access to a thread of time-related information GetWindowThreadProcessId access to the designated window associated with a process ID and thread LoadLibrary included in the specified dynamic-link library, and it is mapped to the current process of using the address space LoadLibraryEx load the dynamic link library designated for the current process, it is mapped to the address space LoadModule included in a Windows application, and in the designated environment running MsgWaitForMultipleObjects waiting a single object or a series of target signal. If the conditions for return have been met, then immediately return to SetPriorityClass the process of setting a priority level SetProcessShutdownParameters the system shut down during the process of setting designated him as opposed to other procedures for the closure of the order SetProcessWorkingSetSize operating system set to the actual demarcation process used memory capacity SetThreadPriority set of thread-level priority ShellExecute to find documents associated with the specified procedure with the file name TerminateProcess the end of a process WinExec designated to run the program 12. API of control and information functions AdjustWindowRect given a window style, calculated to obtain the required target area of the rectangular window size AnyPopup screen to determine if there is any pop-up window ArrangeIconicWindows arranged a window of the Father of the smallest window annihilator AttachThreadInput connecting thread input function BeginDeferWindowPos start to build a series of new window location of the course BringWindowToTop will be designated by the window with a

Page 27: API Function

window to the top of the list CascadeWindows to stack arranged window ChildWindowFromPoint return to the parent window that contains the designated point of the first sub-window handle ClientToScreen window in order to determine customer area that coordinates the screen coordinates of a point CloseWindow minimize designated by the window Copy the contents of the rectangular CopyRect The function to DeferWindowPos specific window of a specified location of the new window DestroyWindow designated by the window as well as the removal of all its sub-window DrawAnimatedRects described a series of dynamic rectangular EnableWindow designated by the window to allow or prohibit all mouse and keyboard input At the same time EndDeferWindowPos update DeferWindowPos call all the time specified the location and status window EnumChildWindows designated as the father of the child window enumeration window EnumThreadWindows designated with the task of enumeration of the relevant window EnumWindows window enumerated a list of all the parent window EqualRect two rectangular structures to determine whether or not the same FindWindow to find the list of the first window to meet prescribed conditions of top-level window FindWindowEx window in the list and look for designated conditions in line with the first sub-window FlashWindow showed flashes designated window GetActiveWindow access to the activities of the window handle GetCapture get a handle of the window, enter the window at the current thread, and have the mouse Capture (to receive it by the mouse) GetClassInfo made WNDCLASS structure (or structure WNDCLASSEX) a copy of the structure and included in the designated categories of information relating to GetClassLong window made of a type of variable Long entry GetClassName designated as a window to obtain class name GetClassWord window for the type of access to a whole number variable GetClientRect window to return to designated customers rectangular area the size of the GetDesktopWindow was on behalf of the entire screen of a window (desktop window) handle GetFocus have access to enter the focus of the window handle

Page 28: API Function

GetForegroundWindow access to the front window handle GetLastActivePopup was the father of a given window over the recent activation of the pop-up window handle GetParent judge designated window of the father of window GetTopWindow internal search window list to find the first part of the designated window handle of a window GetUpdateRect a rectangle, it describes a designated window of the need to update that part of the GetWindow a window handle of the window and the window there is a particular source of a relationship GetWindowContextHelpId made with the window associated with the scene to help ID GetWindowLong from a designated window in the structure of access to information GetWindowPlacement window was designated a state and location information GetWindowRect access to the entire scope of the rectangular window, the window frame, the title bar, scroll bar menu and so on in this rectangle with GetWindowText to obtain a form of title (caption) text, or control the content of a GetWindowTextLength to investigate the title of the text window or control the content of the length of GetWindowWord was designated window of the structure of the information InflateRect increase or decrease the size of a rectangular IntersectRect this function in lpDestRect loaded in a rectangle, it is lpSrc1Rect and lpSrc2Rect the intersection of the two rectangular InvalidateRect shielding a window of the customer area in whole or in part the region IsChild to determine whether a window to another window or attached to the sub-window IsIconic to determine whether the window had been minimized IsRectEmpty to determine whether a rectangular space IsWindow a window handle to determine the validity of IsWindowEnabled to determine whether the window is active IsWindowUnicode a window to determine whether the Unicode window. This means that the window for text-based news All are to receive Unicode characters IsWindowVisible to determine whether the window can be seen IsZoomed to determine whether or not to maximize the window LockWindowUpdate lock designated window, it is prohibited to update MapWindowPoints a window client coordinates of the area's window-point conversion to another area of customer coordinate system

Page 29: API Function

MoveWindow to change the designation of the location and size of the window OffsetRect through the application of a specified shift, so that the rectangle moving up OpenIcon to restore a minimum of procedure, and activation PtInRect to determine whether or not at the designated points within the rectangular RedrawWindow redraw all or part of the window ReleaseCapture current application for the release of captured mouse ScreenToClient judge on the screen of a customer's designated point coordinates of the area ScrollWindow rolling window of the customer area, in whole or in part According to the ScrollWindowEx additional option, customers rolling window area in whole or in part SetActiveWindow activated designated by the window SetCapture will catch the mouse to a specific set of window SetClassLong window-type setting for a Long variable entry SetClassWord window-type setting for an entry SetFocusAPI input will be the focus located at a designated window. If necessary, will be activated window SetForegroundWindow window to the front window as the system SetParent designate a new window of the Father SetRect rectangle designated set of content SetRectEmpty will be set to an empty rectangle rectangular SetWindowContextHelpId designated as a window to help set the scene (context) ID Structures SetWindowLong in the window as the designated window set up information SetWindowPlacement set up a state window and location information SetWindowPos window to specify a new location and status SetWindowText set the window title of the text or control the content of SetWindowWord window in the structure of the window to specify the information ShowOwnedPopups to show or hide all windows specified by all the pop-up window ShowWindow control window visibility ShowWindowAsync with similar ShowWindow SubtractRect loading rectangular lprcDst, it is rectangular in lprcSrc1 subtracted lprcSrc2 results TileWindows flat to order window UnionRect loaded with a rectangular lpDestRect goal, which is lpSrc1Rect and lpSrc2Rect together the results of UpdateWindow mandatory update window

Page 30: API Function

Check window ValidateRect all or part of the customer area WindowFromPoint include the return of the designated point of the window handle. Shield ignored, hidden, as well as a transparent window

- - - - - - - - - - phpbb3 http://www.phpbb3.c.la [email protected]