Skip to content

Latest commit

 

History

History
7421 lines (4356 loc) · 225 KB

functions_group.md

File metadata and controls

7421 lines (4356 loc) · 225 KB

Home

List of functions grouped by group name

Group: Atom

GlobalGetAtomName
Retrieves a copy of the character string associated with the specified global atom.


Group: Authentication

SCardConnect
Establishes a connection (using a specific resource manager context) between the calling application and a smart card contained by a specific reader.


SCardControl
The SCardControl function gives you direct control of the reader by sending specific control codes optionally accompanied with supporting input data.


SCardDisconnect
Terminates a connection previously opened between the calling application and a smart card in the target reader.


SCardEstablishContext
Establishes the resource manager context (the scope) within which database operations are performed.


SCardGetAttrib
Gets the current reader attributes for the given handle. It does not affect the state of the reader, driver, or card.


SCardGetProviderId
Returns the identifier (GUID) of the primary service provider for a given card.


SCardIsValidContext
Determines whether a smart card context handle is valid.


SCardListCards
Searches the smart card database and provides a list of named cards previously introduced to the system by the user.


SCardListInterfaces
Provides a list of interfaces supplied by a given card.


SCardListReaderGroups
Provides the list of reader groups that have previously been introduced to the system.


SCardListReaders
Provides the list of readers within a set of named reader groups.


SCardReleaseContext
Closes an established resource manager context, freeing any resources allocated under that context, including SCARDHANDLE objects and memory allocated using the SCARD_AUTOALLOCATE length designator.


SCardStatus
Provides the current status of a smart card in a reader.


SCardTransmit
Sends a service request to the smart card and expects to receive data back from the card.


Group: Authorization

AdjustTokenPrivileges
Enables or disables privileges in the specified access token.


GetTokenInformation
Retrieves a specified type of information about an access token.


LookupPrivilegeDisplayName
Retrieves the display name that represents a specified privilege.


LookupPrivilegeName
Retrieves the name that corresponds to the privilege represented on a specific system by a specified locally unique identifier (LUID).


LookupPrivilegeValue
Retrieves the locally unique identifier (LUID) used on a specified system to locally represent the specified privilege name.


OpenProcessToken
Opens the access token associated with a process.


Group: Bitmap

AlphaBlend
The AlphaBlend function displays bitmaps that have transparent or semitransparent pixels.


BitBlt
The BitBlt function performs a bit-block transfer of the color data corresponding to a rectangle of pixels from the specified source device context into a destination device context.


CreateCompatibleBitmap
Creates a bitmap compatible with the device that is associated with the specified device context.


CreateDIBSection
Creates a DIB that applications can write to directly.


GetDIBits
The GetDIBits function retrieves the bits of the specified compatible bitmap and copies them into a buffer as a DIB using the specified format.


GradientFill
The GradientFill function fills rectangle and triangle structures.


LoadBitmap
The LoadBitmap function loads the specified bitmap resource from a module"s executable file. This function has been superseded by the LoadImage function.


StretchBlt
Copies a bitmap from a source rectangle into a destination rectangle, stretching or compressing the bitmap to fit the dimensions of the destination rectangle, if necessary.


StretchDIBits
The StretchDIBits function copies the color data for a rectangle of pixels in a DIB to the specified destination rectangle.


Group: Brush

CreateSolidBrush
The CreateSolidBrush function creates a logical brush that has the specified solid color.


GetSysColorBrush
Retrieves a handle identifying a logical brush that corresponds to the specified color index.


Group: Clipboard

AddClipboardFormatListener
Places the given window in the system-maintained clipboard format listener list.


ChangeClipboardChain
Removes a specified window from the chain of clipboard viewers.


CloseClipboard
Closes the clipboard.


CountClipboardFormats
The CountClipboardFormats function retrieves the number of different data formats currently on the clipboard


EmptyClipboard
The EmptyClipboard function empties the clipboard and frees handles to data in the clipboard


EnumClipboardFormats
The EnumClipboardFormats function lets you enumerate the data formats that are currently available on the clipboard


GetClipboardData
The GetClipboardData function retrieves data from the clipboard in a specified format. The clipboard must have been opened previously.


GetClipboardFormatName
The GetClipboardFormatName function retrieves from the clipboard the name of the specified registered format. The function copies the name to the specified buffer.


GetClipboardOwner
The GetClipboardOwner function retrieves the window handle of the current owner of the clipboard


GetClipboardSequenceNumber
Retrieves the clipboard sequence number for the current window station.


GetClipboardViewer
The GetClipboardViewer function retrieves the handle of the first window in the clipboard viewer chain


GetOpenClipboardWindow
Retrieves the handle to the window that currently has the clipboard open.


GetPriorityClipboardFormat
The GetPriorityClipboardFormat function retrieves the first available clipboard format in the specified list.


GetUpdatedClipboardFormats
Retrieves the currently supported clipboard formats.


IsClipboardFormatAvailable
The IsClipboardFormatAvailable function determines whether the clipboard contains data in the specified format


OpenClipboard
The OpenClipboard function opens the clipboard for examination and prevents other applications from modifying the clipboard content


RegisterClipboardFormat
The RegisterClipboardFormat function registers a new clipboard format. This format can then be used as a valid clipboard format.


RemoveClipboardFormatListener
Removes the given window from the system-maintained clipboard format listener list.


SetClipboardData
The SetClipboardData function places data on the clipboard in a specified clipboard format


SetClipboardViewer
Adds the specified window to the chain of clipboard viewers.


Group: Color

GetNearestColor
The GetNearestColor function returns a color value identifying a color from the system palette that will be displayed when the specified color value is used


Group: COM

CLSIDFromString
Converts a string generated by the StringFromCLSID function back into the original CLSID.


CoCreateGuid
Creates a GUID, a unique 128-bit integer used for CLSIDs and interface identifiers.


CoTaskMemFree
Frees a block of task memory previously allocated through a call to the CoTaskMemAlloc or CoTaskMemRealloc function.


CreateStreamOnHGlobal
The CreateStreamOnHGlobal function creates a stream object stored in global memory.


GetHGlobalFromStream
The GetHGlobalFromStream function retrieves the global memory handle to a stream that was created through a call to the CreateStreamOnHGlobal function.


StringFromGUID2
Converts a globally unique identifier (GUID) into a string of printable characters.


Group: Common Dialog Box

ChooseColor
The ChooseColor function creates a Color dialog box that enables the user to select a color.


ChooseFont
Creates a Font dialog box that enables the user to choose attributes for a logical font. These attributes include a typeface name, style (bold, italic, or regular), point size, effects (underline, strikeout, and text color), and a script (or character set).


CommDlgExtendedError
The CommDlgExtendedError function returns a common dialog box error code. This code indicates the most recent error to occur during the execution of one of the common dialog box functions.


FindText
Creates a system-defined modeless Find dialog box that lets the user specify a string to search for and options to use when searching for text in a document.


GetFileTitle
Retrieves the name of the specified file.


GetOpenFileName
The GetOpenFileName function creates an Open dialog box that lets the user specify the drive, directory, and the name of a file or set of files to open.


GetSaveFileName
The GetSaveFileName function creates a Save dialog box that lets the user specify the drive, directory, and name of a file to save.


PageSetupDlg
The PageSetupDlg function creates a Page Setup dialog box that enables the user to specify the attributes of a printed page.


PrintDlg
Displays a Print dialog box. The Print dialog box enables the user to specify the properties of a particular print job.


PrintDlgEx
The PrintDlgEx function displays a Print property sheet that enables the user to specify the properties of a particular print job.


TaskDialog
Creates, displays, and operates a task dialog.


TaskDialogIndirect
Creates, displays, and operates a task dialog.


Group: Console

AllocConsole
The AllocConsole function allocates a new console for the calling process.


FillConsoleOutputAttribute
The FillConsoleOutputAttribute function sets the character attributes for a specified number of character cells, beginning at the specified coordinates in a screen buffer.


FillConsoleOutputCharacter
The FillConsoleOutputCharacter function writes a character to the console screen buffer a specified number of times, beginning at the specified coordinates.


FreeConsole
The FreeConsole function detaches the calling process from its console.


GetConsoleScreenBufferInfo
The GetConsoleScreenBufferInfo function retrieves information about the specified console screen buffer.


GetConsoleWindow
The GetConsoleWindow function retrieves the window handle used by the console associated with the calling process.


GetStdHandle
The GetStdHandle function retrieves a handle for the standard input, standard output, or standard error device.


ReadConsole
The ReadConsole function reads character input from the console input buffer and removes it from the buffer.


SetConsoleCursorPosition
The SetConsoleCursorPosition function sets the cursor position in the specified console screen buffer.


SetConsoleTextAttribute
The SetConsoleTextAttribute function sets the attributes of characters written to the console screen buffer by the WriteFile or WriteConsole function, or echoed by the ReadFile or ReadConsole function.


SetConsoleTitle
The SetConsoleTitle function sets the title bar string for the current console window.


WriteConsole
The WriteConsole function writes a character string to a console screen buffer beginning at the current cursor location.


Group: Coordinate Space and Transformation

ClientToScreen
Converts the client-area coordinates of a specified point to screen coordinates.


DPtoLP
Converts device coordinates into logical coordinates.


GetGraphicsMode
Retrieves the current graphics mode for the specified device context.


GetMapMode
Retrieves the current mapping mode.


GetWorldTransform
Retrieves the current world-space to page-space transformation.


LPtoDP
Converts logical coordinates into device coordinates.


ScreenToClient
The ScreenToClient function converts the screen coordinates of a specified point on the screen to client-area coordinates.


SetGraphicsMode
Sets the graphics mode for the specified device context.


SetMapMode
Sets the mapping mode of the specified device context.


Group: Cryptography Reference

CertCloseStore
Closes a certificate store handle and reduces the reference count on the store.


CertFindCertificateInStore
Finds the first or next certificate context in a certificate store that matches a search criteria established by the dwFindType and its associated pvFindPara.


CertFreeCertificateContext
Frees a certificate context by decrementing its reference count.


CertOpenSystemStore
This is a simplified function that opens the most common system certificate store.


CryptAcquireContext
The CryptAcquireContext function is used to acquire a handle to a particular key container within a particular cryptographic service provider (CSP). This returned handle is used in calls to CryptoAPI functions that use the selected CSP.


CryptBinaryToString
Converts an array of bytes into a formatted string.


CryptCreateHash
The CryptCreateHash function initiates the hashing of a stream of data. It creates and returns to the calling application a handle to a CSP hash object.


CryptDecrypt
Decrypts data previously encrypted using the CryptEncrypt function.


CryptDeriveKey
Generates cryptographic session keys derived from a base data value.


CryptDestroyHash
The CryptDestroyHash function destroys the hash object referenced by the hHash parameter. After a hash object has been destroyed, it can no longer be used.


CryptDestroyKey
Releases the handle referenced by the hKey parameter. After a key handle has been released, it becomes invalid and cannot be used again.


CryptEncrypt
Encrypts data. The algorithm used to encrypt the data is designated by the key held by the CSP module and is referenced by the hKey parameter.


CryptEnumProviders
Retrieves the first or next available cryptographic service providers (CSPs). Used in a loop, this function can retrieve in sequence all of the CSPs available on a computer.


CryptEnumProviderTypes
Retrieves the first or next types of cryptographic service provider (CSP) supported on the computer. Used in a loop, this function retrieves in sequence all of the CSP types available on a computer.


CryptExportKey
Exports a cryptographic key or a key pair from a cryptographic service provider (CSP) in a secure manner.


CryptGenKey
Generates a random cryptographic session key or a public/private key pair. A handle to the key or key pair is returned in phKey. This handle can then be used as needed with any CryptoAPI function that requires a key handle.


CryptGenRandom
Fills a buffer with cryptographically random bytes.


CryptGetDefaultProvider
Finds the default cryptographic service provider (CSP) of a specified provider type. The CSP can be the default for either for the current user or for the computer (LocalMachine).


CryptGetHashParam
Retrieves data that governs the operations of a hash object. The actual hash value can be retrieved by using this function.


CryptGetKeyParam
Retrieves data that governs the operations of a key.


CryptGetProvParam
Retrieves parameters that govern the operations of a cryptographic service provider (CSP).


CryptHashData
Adds data to a specified hash object.


CryptImportKey
Transfers a cryptographic key from a key BLOB into a cryptographic service provider (CSP).


CryptProtectData
Performs encryption on the data in a DATA_BLOB structure. Scoped to local computer, or to user credentials.


CryptReleaseContext
The CryptReleaseContext function releases the handle of a cryptographic service provider (CSP) and a key container.


CryptStringToBinary
Converts a formatted string into an array of bytes.


CryptUnprotectData
Decrypts and does an integrity check of the data in a DATA_BLOB structure. Scoped to local computer, or to user credentials.


WinVerifyTrust
Performs a trust verification action on a specified object. The function passes the inquiry to a trust provider that supports the action identifier, if one exists.


Group: Cursor

ClipCursor
Confines the cursor to a rectangular area on the screen.


GetClipCursor
Retrieves the screen coordinates of the rectangular area to which the cursor is confined.


GetCursorInfo
Retrieves information about the global cursor.


GetCursorPos
Retrieves the cursor"s position, in screen coordinates.


ShowCursor
The ShowCursor function displays or hides the cursor.


Group: Data Decompression Library

RtlCompressBuffer
Compresses a buffer and can be used by a file system driver to facilitate the implementation of file compression.


RtlDecompressBuffer
Decompresses an entire compressed buffer.


RtlGetCompressionWorkSpaceSize
This function is used to determine the correct size of the WorkSpace buffer for the RtlCompressBuffer and RtlDecompressFragment functions.


Group: Debugging

ReadProcessMemory
Reads data from an area of memory in a specified process.


WriteProcessMemory
Writes data to an area of memory in a specified process.


Group: Desktop Window Manager (DWM)

DwmExtendFrameIntoClientArea
Extends the window frame behind the client area.


Group: Device Context

ChangeDisplaySettings
The ChangeDisplaySettings function changes the settings of the default display device to the specified graphics mode.


CreateCompatibleDC
Creates a memory device context (DC) compatible with the specified device.


CreateDC
The CreateDC function creates a device context (DC) for a device using the specified name.


DeleteDC
Deletes the specified device context (DC).


DeleteObject
Deletes a logical pen, brush, font, bitmap, region, or palette, freeing all system resources associated with the object. After the object is deleted, the specified handle is no longer valid.


EnumDisplayDevices
The EnumDisplayDevices function lets you obtain information about the display devices in a system.


EnumDisplaySettings
The EnumDisplaySettings function retrieves information about one of the graphics modes for a display device. To retrieve information for all the graphics modes of a display device, make a series of calls to this function.


GetDC
The GetDC function retrieves a handle of a display device context (DC) for the client area of the specified window


GetDeviceCaps
The GetDeviceCaps function retrieves device-specific information for the specified device.


GetObject
The GetObject function retrieves information for the specified graphics object.


GetObjectType
The GetObjectType retrieves the type of the specified object.


ReleaseDC
The ReleaseDC function releases a device context (DC), freeing it for use by other applications. For memory device contexts use the DeleteDC function.


SelectObject
Selects an object into the specified device context (DC). The new object replaces the previous object of the same type.


Group: Device Input and Output

DeviceIoControl
Sends a control code directly to a specified device driver, causing the corresponding device to perform the corresponding operation.


Group: Dialog Box

GetDlgCtrlID
Retrieves the identifier of the specified control.


GetDlgItem
Retrieves a handle to a control in the specified dialog box.


MessageBox
Creates, displays, and operates a message box. The message box contains an application-defined message and title, plus any combination of predefined icons and push buttons


MessageBoxIndirect
Creates, displays, and operates a message box. The message box contains application-defined message text and title, any icon, and any combination of predefined push buttons.


SetDlgItemInt
The SetDlgItemInt function sets the text of a control in a dialog box to the string representation of a specified integer value.


SetDlgItemText
The SetDlgItemText function sets the title or text of a control in a dialog box.


Group: DNS Functions

DnsValidateName
Validates the status of a specified DNS name.


Group: Dynamic-Link Library

FreeLibrary
The FreeLibrary function decrements the reference count of the loaded dynamic-link library (DLL). When the reference count reaches zero, the module is unmapped from the address space of the calling process and the handle is no longer valid


GetModuleFileName
Retrieves the full path and file name for the file containing the specified module.


GetModuleHandle
Retrieves a module handle for the specified module if the file has been mapped into the address space of the calling process.


GetProcAddress
Retrieves the address of an exported function or variable from the specified dynamic-link library (DLL).


LoadLibrary
The LoadLibrary function maps the specified executable module into the address space of the calling process.


LoadLibraryEx
Maps the specified executable module into the address space of the calling process. The executable module can be a .dll or an .exe file. The specified module may cause other modules to be mapped into the address space.


Group: Error Handling

Beep
Generates simple tones on the speaker. The function is synchronous; it does not return control to its caller until the sound finishes.


FatalAppExit
The FatalAppExit function displays a message box and terminates the application when the message box is closed.


FlashWindow
Flashes the specified window one time. It does not change the active state of the window


FlashWindowEx
The FlashWindowEx function flashes the specified window. It does not change the active state of the window.


FormatMessage
The FormatMessage function formats a message string. It can be used to obtain error message strings for the system error codes returned by GetLastError.


GetErrorMode
Retrieves the error mode for the current process.


GetLastError
The GetLastError function retrieves the calling thread"s last-error code value.


MessageBeep
Plays a waveform sound. The waveform sound for each sound type is identified by an entry in the [sounds] section of the registry


SetErrorMode
Controls whether the system will handle the specified types of serious errors, or whether the process will handle them.


SetLastError
Sets the last-error code for the calling thread. This function is intended primarily for dynamic-link libraries (DLL). Calling this function after an error occurs lets the DLL emulate the behavior of the Win32 API.

If you are defining an error code for your application, be sure that your error code does not conflict with any system-defined error codes.


Group: Event Logging

ClearEventLog
Clears the specified event log, and optionally saves the current copy of the log to a backup file.


CloseEventLog
Closes a read handle to the specified event log.


DeregisterEventSource
Closes a write handle to the specified event log.


GetEventLogInformation
Retrieves information about the specified event log.


GetNumberOfEventLogRecords
Retrieves the number of records in the specified event log.


GetOldestEventLogRecord
Retrieves the absolute record number of the oldest record in the specified event log.


OpenEventLog
Opens a handle to the specified event log.


ReadEventLog
Reads a whole number of entries from the specified event log. The function can be used to read log entries in chronological or reverse chronological order.


RegisterEventSource
Retrieves a registered handle to the specified event log.


ReportEvent
Writes an entry at the end of the specified event log.


Group: Extensible Storage Engine (ESE, Jet Blue)

JetAddColumn
Adds a new column to an existing table in an ESE database.


JetBeginSession
Starts new ESE session and initializes and returns an ESE session handle


JetBeginTransaction
Causes a session to enter a transaction and create a new save point.


JetCloseDatabase
Closes a database file that was previously opened with JetOpenDatabase.


JetCloseTable
Closes an open table in a database. The table is a temporary table or a normal table.


JetCommitTransaction
Commits the changes made to the state of the database during the current save point and migrates them to the previous save point.


JetCreateDatabase
Creates and attaches a database file to be used with the ESE database engine.


JetCreateInstance
Allocates a new instance of the database engine for use in a single process.


JetCreateTable
Creates an empty table in an ESE database.


JetDeleteTable
Deletes a table in an ESE database.


JetDetachDatabase
Releases a database file that was previously attached to a database session.


JetEndSession
Ends the session, and cleans up and deallocates any resources associated with the specified session.


JetGetColumnInfo
Retrieves information about a column.


JetGotoBookmark
Positions a cursor to an index entry for the record that is associated with the specified bookmark.


JetInit
Puts the database engine into a state where it can support application use of database files.


JetMove
Positions a cursor at the start or end of an index and traverses the entries in that index either forward or backward.


JetOpenTable
Opens a cursor on an existing table.


JetPrepareUpdate
This is the first operation in performing an update, for the purposes of inserting a new record or replacing an existing record with new values.


JetRetrieveColumn
Retrieves a single column value from the current record.


JetRollback
Undoes the changes made to the state of the database and returns to the last save point.


JetSetColumn
Modifies a single column value in a modified record to be inserted or to update the current record.


JetTerm
Initiates the shutdown of an instance that has been initialized by JetInit.


JetUpdate
Performs an update operation including inserting a new row into a table or updating an existing row.


Group: File Management

CopyFile
This function copies an existing file to a new file


CopyFileTransacted
Copies an existing file to a new file as a transacted operation, notifying the application of its progress through a callback function.


CreateDirectory
Creates a new directory. If the underlying file system supports security on files and directories, the function applies a specified security descriptor to the new directory.


CreateFile
This function creates, opens, or truncates a file, communications resource, disk device, or console. It returns a handle that can be used to access the object. It can also open and return a handle to a directory.

Use the CloseHandle function to close an object handle returned by CreateFile


CreateFileTransacted
Creates or opens a file, file stream, or directory as a transacted operation. The function returns a handle that can be used to access the object.


CreateHardLink
Establishes a hard link between an existing file and a new file. This function is only supported on the NTFS file system.


CreateSymbolicLink
Creates a symbolic link.


DeleteFile
The DeleteFile function deletes an existing file


DeleteFileTransacted
Deletes an existing file as a transacted operation.


FindClose
The FindClose function closes the specified search handle. The FindFirstFile and FindNextFile functions use the search handle to locate files with names that match a given name.


FindCloseChangeNotification
Stops change notification handle monitoring.


FindFirstChangeNotification
Creates a change notification handle and sets up initial change notification filter conditions.

A wait on a notification handle succeeds when a change matching the filter conditions occurs in the specified directory or subtree.


FindFirstFile
The FindFirstFile function searches a directory for a file whose name matches the specified file name. FindFirstFile examines subdirectory names as well as file names.


FindNextChangeNotification
Requests that the operating system signal a change notification handle the next time it detects an appropriate change.


FindNextFile
The FindNextFile function continues a file search from a previous call to the FindFirstFile function.


FlushFileBuffers
Flushes the buffers of a specified file and causes all buffered data to be written to a file.


GetBinaryType
Determines whether a file is executable, and if so, what type of executable file it is. That last property determines which subsystem an executable file runs under.


GetCurrentDirectory
The GetCurrentDirectory function retrieves the current directory for the current process.


GetDriveType
The GetDriveType function determines whether a disk drive is a removable, fixed, CD-ROM, RAM disk, or network drive


GetFileAttributes
Retrieves attributes for a specified file or directory.


GetFileAttributesEx
Retrieves attributes for a specified file or directory.


GetFileInformationByHandle
The GetFileInformationByHandle function retrieves file information for a specified file.


GetFileType
The GetFileType function retrieves the file type for the specified file.


GetFullPathName
Retrieves the full path and file name of a specified file.


GetLongPathName
The GetLongPathName function converts the specified path to its long form. If no long path is found, this function simply returns the specified name.


GetShortPathName
Retrieves the short path form of a specified input path


GetTempFileName
The GetTempFileName function creates a name for a temporary file.

The specified integer can be nonzero, in which case, the function creates the file name but does not create the file. If you specify zero for the integer, the function creates a unique file name and creates the file in the specified directory.


GetTempPath
The GetTempPath function retrieves the path of the directory designated for temporary files


LockFile
Locks a region in an open file. Locking a region prevents other processes from accessing the region.


MoveFile
The MoveFile function moves an existing file or a directory, including its children.

To specify how to move the file, use the MoveFileEx function


MoveFileTransacted
Moves an existing file or a directory, including its children, as a transacted operation.


OpenFile
The OpenFile function creates, opens, reopens, or deletes a file


QueryDosDevice
Retrieves information about MS-DOS device names.


ReadDirectoryChangesW
The ReadDirectoryChangesW function retrieves information describing the changes occurring within a directory.


ReadFile
Reads data from a file, starting at the position indicated by the file pointer.


RemoveDirectory
The RemoveDirectory function deletes an existing empty directory. To recursively delete files and subdirectories in a directory, use the SHFileOperation function.


RemoveDirectoryTransacted
Deletes an existing empty directory as a transacted operation.


ReplaceFile
Replaces one file with another file, with the option of creating a backup copy of the original file.


SearchPath
The SearchPath function searches for the specified file.


SetCurrentDirectory
The SetCurrentDirectory function changes the current directory for the current process.


SetEndOfFile
Sets the physical file size for the specified file to the current position of the file pointer.


SetFileAttributes
Sets a file"s attributes.


SetFilePointer
The SetFilePointer function moves the file pointer of an open file.


SetFilePointerEx
Moves the file pointer of the specified file.


SetSearchPathMode
Sets the per-process mode that the SearchPath function uses when locating files.


UnlockFile
Unlocks a region in an open file. Unlocking a region enables other processes to access the region.


WriteFile
The WriteFile function writes data to a file and is designed for both synchronous and asynchronous operation.


_lclose
Closes the specified file so that it is no longer available for reading or writing.


_lopen
Opens an existing file and sets the file pointer to the beginning of the file.


Group: File Mapping

CreateFileMapping
The CreateFileMapping function creates or opens a named or unnamed file mapping object for the specified file.


GetMappedFileName
The GetMappedFileName function checks if the specified address is within a memory-mapped file in the address space of the specified process. If so, the function returns the name of the memory-mapped file.


MapViewOfFile
The MapViewOfFile function maps a view of a file mapping into the address space of the calling process.


UnmapViewOfFile
The UnmapViewOfFile function unmaps a mapped view of a file from the calling process"s address space.


Group: File System

DeleteVolumeMountPoint
Unmounts the volume from the specified volume mount point.


FindFirstVolume
Returns the name of a volume on a computer. This call is used to begin scanning the volumes of a computer.


FindFirstVolumeMountPoint
Returns the name of a volume mount point on the specified volume. It is used to begin scanning the volume mount points on a volume.


FindNextVolume
Continues a volume search started by a call to the FindFirstVolume function.


FindNextVolumeMountPoint
Continues a volume mount point search started by a call to the FindFirstVolumeMountPoint function.


FindVolumeClose
Closes the specified volume search handle created with the FindFirstVolume and FindNextVolume call.


FindVolumeMountPointClose
Closes the specified mount-point search handle.


GetCompressedFileSize
Retrieves the actual number of bytes of disk storage used to store a specified file. If the file is located on a volume that supports compression/sparse files, and the file is compressed, the value obtained is the compressed/sparse size of the specified file


GetDiskFreeSpace
[Obsolete] Retrieves information about the specified disk, including the amount of free space on the disk.


GetDiskFreeSpaceEx
Retrieves information about the amount of space available on a disk volume: the total amount of space, the total amount of free space, and the total amount of free space available to the user associated with the calling thread.


GetFileSize
Retrieves the size of a specified file.


GetFileSizeEx
The GetFileSizeEx function retrieves the size of the specified file.


GetLogicalDrives
The GetLogicalDrives function retrieves a bitmask representing the currently available disk drives


GetLogicalDriveStrings
The GetLogicalDriveStrings function fills a buffer with strings that specify valid drives in the system


GetVolumeInformation
Retrieves information about a file system and volume whose root directory is specified.


GetVolumeNameForVolumeMountPoint
Takes a volume mount point or root directory and returns the corresponding unique volume name.


GetVolumePathNamesForVolumeName
Retrieves a list of path names for the specified volume name.


SetVolumeLabel
The SetVolumeLabel function sets the label of a file system volume.


SetVolumeMountPoint
Mounts the specified volume at the specified volume mount point.


Group: Filled Shape

FillRect
The FillRect function fills a rectangle by using the specified brush. This function includes the left and top borders, but excludes the right and bottom borders of the rectangle.


Polygon
The Polygon function draws a polygon consisting of two or more vertices connected by straight lines. The polygon is outlined by using the current pen and filled by using the current brush and polygon fill mode.


Group: Font and Text

CreateFont
Creates a logical font with the specified characteristics. The logical font can subsequently be selected as the font for any device.


DrawText
The DrawText function draws formatted text in the specified rectangle. It formats the text according to the specified method (expanding tabs, justifying characters, breaking lines, and so forth).


GetCharABCWidths
Retrieves the widths, in logical units, of consecutive characters in a specified range from the current TrueType font. This function succeeds only with TrueType fonts.


GetTextAlign
The GetTextAlign function retrieves the text-alignment setting for the specified device context.


GetTextCharacterExtra
The GetTextCharacterExtra function retrieves the current intercharacter spacing for the specified device context.


GetTextColor
The GetTextColor function retrieves the current text color for the specified device context.


GetTextExtentPoint32
The GetTextExtentPoint32 function computes the width and height of the specified string of text.


GetTextFace
The GetTextFace function retrieves the typeface name of the font that is selected into the specified device context.


GetTextMetrics
The GetTextMetrics function fills the specified buffer with the metrics for the currently selected font.


SetTextAlign
The SetTextAlign function sets the text-alignment flags for the specified device context.


SetTextCharacterExtra
The SetTextCharacterExtra function sets the intercharacter spacing. Intercharacter spacing is added to each character, including break characters, when the system writes a line of text.


SetTextColor
Sets the text color for the specified device context to the specified color.


TextOut
Writes a character string at the specified location, using the currently selected font, background color, and text color.


Group: GDI+

GdipGetImageDecoders
The GetImageDecoders function gets an array of ImageCodecInfo objects that contain information about the available image decoders.


GdipGetImageDecodersSize
The GetImageDecodersSize function gets the number of available image decoders and the total size of the array of ImageCodecInfo objects that is returned by the GetImageDecoders function.


GdipGetImageEncoders
The GetImageEncoders function gets an array of ImageCodecInfo objects that contain information about the available image encoders.


GdipGetImageEncodersSize
The GetImageEncodersSize function gets the number of available image encoders and the total size of the array of ImageCodecInfo objects that is returned by the GetImageEncoders function.


GdiplusShutdown
The GdiplusShutdown function cleans up resources used by Microsoft® Windows® GDI+.


GdiplusStartup
The GdiplusStartup function initializes Microsoft® Windows® GDI+.


Group: GDI+ Bitmap

GdipBitmapGetPixel
Gets the color value of an individual pixel.


GdipBitmapSetPixel
Sets the color value of an individual pixel.


GdipBitmapSetResolution
Sets the resolution of this Bitmap object.


GdipCloneBitmapArea
Creates a new Bitmap object by copying a portion of this bitmap.


GdipCreateBitmapFromGdiDib
Creates a Bitmap object based on a BITMAPINFO structure and an array of pixel data.


GdipCreateBitmapFromGraphics
Creates a Bitmap object based on a Graphics object, a width, and a height.


GdipCreateBitmapFromHBITMAP
Creates a Bitmap object based on a handle to a Windows Microsoft® Windows® Graphics Device Interface (GDI) bitmap and a handle to a GDI palette.


GdipCreateBitmapFromHICON
Creates a Bitmap object based on a handle to an icon.


GdipCreateHBITMAPFromBitmap
Creates a Microsoft® Windows® Graphics Device Interface (GDI) bitmap from this GDI+ Bitmap handle.


GdipCreateHICONFromBitmap
Creates an icon from this Bitmap object.


Group: GDI+ Brush

GdipCreateSolidFill
Creates a SolidBrush object based on a color.


GdipCreateTexture
Creates a brush that contains an Image object that is used for the fill.


GdipDeleteBrush
Deletes the specified Brush object.


GdipScaleTextureTransform
Updates this texture brush"s current transformation matrix with the product of itself and a scaling matrix.


Group: GDI+ Font

GdipCreateFont
Creates a Font handle based on a FontFamily handle, a size, a font style, and a unit of measurement.


GdipCreateFontFamilyFromName
Creates a FontFamily handle based on specified font family name.


GdipDeleteFont
Deletes the specified Font object.


GdipDeleteFontFamily
Deletes the specified FontFamily object.


GdipGetFamilyName
Gets the name of this font family.


GdipGetFontCollectionFamilyCount
Gets the number of font families contained in this font collection


GdipGetFontCollectionFamilyList
Gets list of the font families contained in this font collection.


GdipIsStyleAvailable
Determines whether the specified style is available for this font family.


GdipNewInstalledFontCollection
Represents the fonts installed on the system


Group: GDI+ Graphics

GdipCreateFromHDC
Returns handle to the Graphics object associated with the device context.


GdipCreateFromHDC2
Returns handle to the Graphics object that is associated with a specified device context and a specified device.


GdipCreateFromHWND
Returns handle to the Graphics object associated with the windows handle.


GdipDeleteGraphics
Deletes the Graphics object created by GdipCreateFromHWND, GdipCreateFromHDC or GdipCreateFromHDC2 function.


GdipDrawImageI
Draws an image at a specified location.


GdipDrawImageRectI
Draws an image


GdipDrawImageRectRectI
Draws an image optionally using a ImageAttributes object.


GdipDrawLineI
Uses a pen to draw a line.


GdipDrawPieI
Draws a pie.


GdipDrawRectangle
Uses a pen to draw a rectangle.


GdipFillPieI
Uses a brush to fill the interior of a pie.


GdipFillRectangle
Uses a brush to fill the interior of a rectangle.


GdipGetDC
Gets a handle to the device context associated with this Graphics object.


GdipGetDpiX
Gets the horizontal resolution, in dots per inch, of the display device associated with this Graphics handle.


GdipGetDpiY
Gets the vertical resolution, in dots per inch, of the display device associated with this Graphics handle.


GdipGetPageScale
Gets the scaling factor currently set for the page transformation of this Graphics handle.


GdipGetPageUnit
Returns an element of the Unit enumeration that indicates the unit of measure currently set for this Graphics handle.


GdipGetSmoothingMode
Determines whether smoothing (antialiasing) is applied to the Graphics object.


GdipReleaseDC
Releases a device context handle obtained by a previous call to the GdipGetHDC with this Graphics handle.


GdipResetWorldTransform
Sets the world transformation matrix of this Graphics object to the identity matrix.


GdipRotateWorldTransform
Updates the world transformation matrix of this Graphics object with the product of itself and a rotation matrix.


GdipSetClipRectI
Sets the clipping region of this Graphics object by a specified rectangle.


GdipSetPageScale
Sets the scaling factor for the page transformation of this Graphics handle.


GdipSetPageUnit
Sets the unit of measure for this Graphics handle.


GdipSetSmoothingMode
Sets the rendering quality of the Graphics object.


GdipSetTextRenderingHint
Sets the text rendering mode of this Graphics object.


GdipSetWorldTransform
Sets the world transformation of this Graphics object.


GdipTranslateWorldTransform
Updates this Graphics object"s world transformation matrix with the product of itself and a translation matrix.


Group: GDI+ Image

GdipDisposeImage
The GdipDisposeImage releases an Image object.


GdipGetImageFlags
Gets a set of flags that indicate certain attributes of this Image object.


GdipGetImageGraphicsContext
Creates a Graphics object that is associated with an Image object.


GdipGetImageHeight
Gets the height, in pixels, of this image.


GdipGetImageHorizontalResolution
Gets the horizontal resolution of this image.


GdipGetImagePalette
Gets the color palette of this Image object.


GdipGetImagePaletteSize
Gets the size, in bytes, of the color palette of this Image object.


GdipGetImageRawFormat
Gets a globally unique identifier (GUID) that identifies the format of this Image object.


GdipGetImageType
Gets the type (bitmap or metafile) of this Image object.


GdipGetImageVerticalResolution
Sets the vertical resolution of this image.


GdipGetImageWidth
Gets the width, in pixels, of this image.


GdipGetPropertyCount
Gets the number of properties (pieces of metadata) stored in this Image object.


GdipGetPropertyIdList
Gets a list of the property identifiers used in the metadata of this Image object.


GdipGetPropertyItem
Gets a specified property item (piece of metadata) from this Image object.


GdipGetPropertyItemSize
Gets the size, in bytes, of a specified property item of this Image object.


GdipLoadImageFromFile
Creates an Image object based on a file.


GdipRemovePropertyItem
Removes a property item (piece of metadata) from this Image object.


GdipSaveImageToFile
Saves this image to a file.


GdipSetImagePalette
Sets the color palette of this Image object.


GdipSetPropertyItem
Sets a property item (piece of metadata) for this Image object.


Group: GDI+ ImageAttributes

GdipCreateImageAttributes
Creates new ImageAttributes object.


GdipDisposeImageAttributes
Disposes the ImageAttributes object created by GdipCreateImageAttributes function.


GdipSetImageAttributesColorKeys
Sets the color key (transparency range) for a specified ColorAdjustType.


Group: GDI+ Matrix

GdipCreateMatrix
Creates and initializes a Matrix object that represents the identity matrix.


GdipCreateMatrix2
Creates and initializes a 3x3 matrix that represents an affine transformation.


GdipDeleteMatrix
Deletes the Matrix object created by GdipCreateMatrix, GdipCloneMatrix and similar functions.


GdipGetMatrixElements
Gets the elements of this matrix. The elements are placed in an array in the order m11, m12, m21, m22, m31, m32, where mij denotes the element in row i, column j.


GdipInvertMatrix
For invertible matrix, replaces the elements of this matrix with the elements of its inverse.


GdipRotateMatrix
Updates this matrix with the product of itself and a rotation matrix.


GdipScaleMatrix
Updates this matrix with the product of itself and a scaling matrix.


GdipSetMatrixElements
Sets the elements of this matrix.


GdipShearMatrix
Updates this matrix with the product of itself and a shearing matrix.


GdipTranslateMatrix
Updates this matrix with the product of itself and a translation matrix.


Group: GDI+ PathGradient Brush

GdipCreatePathGradientI
Creates a PathGradient Brush object based on an array of points. Initializes the wrap mode of the path gradient brush.


GdipSetPathGradientCenterColor
Sets the center color of this path gradient brush. The center color is the color that appears at the brush's center point.


GdipSetPathGradientCenterPointI
Sets the center point of this path gradient brush.


Group: GDI+ Pen

GdipCreatePen1
Creates a Pen object that uses a specified color and width.


GdipDeletePen
Deletes the specified Pen object.


Group: GDI+ StringFormat

GdipCreateStringFormat
Creates a StringFormat object based on string format flags and a language.


GdipDeleteStringFormat
Deletes the specified StringFormat object .


Group: GDI+ Text

GdipDrawString
Draws a string based on a font, a layout rectangle, and a format


GdipMeasureString
Measures the extent of the string in the specified font, format, and layout rectangle.


Group: Handle and Object

CloseHandle
The CloseHandle function closes an open object handle.

The CloseHandle function closes handles to the following objects: - Access token - Communications device - Console input - Console screen buffer - Event - File - File mapping - Job - Mailslot - Mutex (MutuallyExclusive) - Named pipe - Process - Semaphore - Socket


DuplicateHandle
The DuplicateHandle function duplicates an object handle.


GetHandleInformation
The GetHandleInformation function retrieves certain properties of an object handle.


SetHandleInformation
Sets certain properties of an object handle.


Group: Hook

SetWindowsHookEx
Installs an application-defined hook procedure into a hook chain.


UnhookWindowsHookEx
Removes a hook procedure installed in a hook chain by the SetWindowsHookEx function.


Group: HTTP Functions (WinHTTP)

WinHttpAddRequestHeaders
The WinHttpAddRequestHeaders function adds one or more HTTP request headers to the HTTP request handle.


WinHttpCloseHandle
The WinHttpCloseHandle function closes a single HINTERNET handle.


WinHttpConnect
Specifies the initial target server of an HTTP request and returns an HINTERNET connection handle to an HTTP session for that initial target.


WinHttpCrackUrl
The WinHttpCrackUrl function separates a URL into its component parts such as host name and path.


WinHttpOpen
Initializes an application"s use of the WinHTTP functions and returns a WinHTTP-session handle.


WinHttpOpenRequest
The WinHttpOpenRequest function creates an HTTP request handle.


WinHttpQueryDataAvailable
The WinHttpQueryDataAvailable function returns the number of bytes of data that are immediately available to be read with WinHttpReadData.


WinHttpQueryHeaders
The WinHttpQueryHeaders function retrieves header information associated with an HTTP request.


WinHttpReadData
The WinHttpReadData function reads data from a handle opened by the WinHttpOpenRequest function.


WinHttpReceiveResponse
The WinHttpReceiveResponse function waits to receive the response to an HTTP request initiated by WinHttpSendRequest.


WinHttpSendRequest
The WinHttpSendRequest function sends the specified request to the HTTP server.


WinHttpSetCredentials
The WinHttpSetCredentials function passes the required authorization credentials to the server.


Group: Icon

CopyIcon
Copies the specified icon from another module to the current module.


DestroyIcon
Destroys an icon and frees any memory the icon occupied.


DrawIcon
Draws an icon or cursor into the specified device context.


ExtractAssociatedIcon
The ExtractAssociatedIcon function returns a handle to an indexed icon found in a file or an icon found in an associated executable file.


ExtractIcon
Retrieves a handle to an icon from the specified executable file, dynamic-link library (DLL), or icon file.


GetIconInfo
The GetIconInfo function retrieves information about the specified icon or cursor.


LoadIcon
Loads the specified icon resource from the executable (.exe) file associated with an application instance.


Group: Internet Functions (WinInet)

CreateMD5SSOHash
Obtains the default Microsoft Passport password for a specified account or realm, creates an MD5 hash from it using a specified wide-character challenge string, and returns the result as a string of hexadecimal digit bytes.


DeleteUrlCacheEntry
Removes the file associated with the source name from the cache, if the file exists.


DetectAutoProxyUrl
Attempts to determine the location of a WPAD autoproxy script.


FindCloseUrlCache
Closes the specified cache enumeration handle.


FindFirstUrlCacheEntry
Begins the enumeration of the Internet cache.


FindFirstUrlCacheGroup
Initiates the enumeration of the cache groups in the Internet cache.


FindNextUrlCacheEntry
Retrieves the next entry in the Internet cache.


FindNextUrlCacheGroup
Retrieves the next cache group in a cache group enumeration started by FindFirstUrlCacheGroup.


FtpCommand
Sends commands directly to an FTP server.


FtpCreateDirectory
Creates a new directory on the FTP server


FtpDeleteFile
Deletes a file stored on the FTP server.


FtpFindFirstFile
Searches the specified directory of the given FTP session


FtpGetCurrentDirectory
Retrieves the current directory for the specified FTP session


FtpGetFile
Retrieves a file from the FTP server and stores it under the specified file name, creating a new local file in the process.


FtpGetFileSize
Retrieves the file size of the requested FTP resource.


FtpOpenFile
Initiates access to a remote file on an FTP server for reading or writing.


FtpPutFile
Stores a file on the FTP server.


FtpRemoveDirectory
Removes the specified directory on the FTP server.


FtpRenameFile
Renames a file stored on the FTP server.


FtpSetCurrentDirectory
Changes to a different working directory on the FTP server


GetUrlCacheEntryInfo
Retrieves information about a cache entry.


HttpOpenRequest
This function opens an HTTP request handle.


HttpQueryInfo
Retrieves header information associated with an HTTP request.


HttpSendRequest
This function sends the specified request to the HTTP server.


InternetAttemptConnect
Attempts to make a connection to the Internet.


InternetAutodial
Causes the modem to automatically dial the default Internet connection.


InternetAutodialHangup
Disconnects an automatic dial-up connection.


InternetCanonicalizeUrl
Canonicalizes a URL, which includes converting unsafe characters and spaces into escape sequences.


InternetCheckConnection
Allows an application to check if a connection to the Internet can be established.


InternetCloseHandle
Closes a single Internet handle


InternetConnect
Opens an FTP, Gopher, or HTTP session for a given site


InternetCrackUrl
Cracks a URL into its component parts.


InternetDial
Initiates a connection to the Internet using a modem.


InternetFindNextFile
Continues a file search started as a result of a previous call to FtpFindFirstFile or GopherFindFirstFile


InternetGetConnectedState
Retrieves the connected state of the local system.


InternetGetConnectedStateEx
Retrieves the connected state of the specified Internet connection.


InternetGetCookie
This function retrieves the cookie for the specified URL.


InternetGetLastResponseInfo
Retrieves the last Microsoft® Win32® Internet function error description or server response on the thread calling this function.


InternetGoOnline
Prompts the user for permission to initiate connection to a URL.


InternetOpen
Initializes an application"s use of the Microsoft® Win32® Internet functions


InternetOpenUrl
Opens a resource specified by a complete FTP, Gopher, or HTTP URL.


InternetQueryDataAvailable
This function queries the amount of data available.


InternetQueryOption
Queries an Internet option on the specified handle


InternetReadFile
Reads data from a handle opened by the InternetOpenUrl, FtpOpenFile, FtpCommand, GopherOpenFile, or HttpOpenRequest function


InternetSetCookie
This function creates a cookie associated with the specified URL.


InternetSetFilePointer
Sets a file position for InternetReadFile.


InternetTimeFromSystemTime
Formats a date and time according to the HTTP version 1.0 specification.


InternetTimeToSystemTime
Converts an HTTP time/date string to a SYSTEMTIME structure.


InternetWriteFile
Writes data to an open Internet file.


Group: IP Helper

GetAdaptersAddresses
Retrieves the addresses associated with the adapters on the local computer.


GetAdaptersInfo
The GetAdaptersInfo function retrieves adapter information for the local computer.


GetBestInterface
Retrieves the index of the interface that has the best route to the specified IPv4 address.


GetBestRoute
Retrieves the best route to the specified destination IP address.


GetIfEntry
The GetIfEntry function retrieves information for the specified interface on the local computer.


GetInterfaceInfo
The GetInterfaceInfo function obtains a list of the network interface adapters on the local system.


GetIpAddrTable
The GetIpAddrTable function retrieves the interface-to-IP address mapping table.


GetIpNetTable
The GetIpNetTable function retrieves the IP-to-physical address mapping table.


GetIpStatistics
The GetIpStatistics function retrieves the IP statistics for the current computer.


GetNetworkParams
The GetNetworkParams function retrieves network parameters for the local computer.


GetNumberOfInterfaces
Returns the number of network interfaces on the local computer, including the loopback interface.


GetRTTAndHopCount
The GetRTTAndHopCount function determines the round-trip time (RTT) and hop count to the specified destination.


GetTcp6Table
Retrieves the TCP connection table for IPv6.


GetTcpStatistics
The GetTcpStatistics function retrieves the TCP statistics for the local computer.


GetTcpTable
The GetTcpTable function retrieves the TCP connection table.


GetUdpTable
The GetUdpTable function retrieves the User Datagram Protocol (UDP) listener table.


IcmpCloseHandle
Closes a handle opened by a call to IcmpCreateFile.


IcmpCreateFile
Opens a handle on which ICMP Echo Requests can be issued.


IcmpSendEcho
Sends an ICMP Echo request and returns any replies. The call returns when the time-out has expired or the reply buffer is filled.


if_indextoname
Converts the local index for a network interface to the ANSI interface name.


if_nametoindex
Converts the ANSI interface name for a network interface to the local index for the interface.


IpReleaseAddress
The IpReleaseAddress function releases an IP address previously obtained through Dynamic Host Configuration Protocol (DHCP).


IpRenewAddress
The IpRenewAddress function renews a lease on an IP address previously obtained through Dynamic Host Configuration Protocol (DHCP).


SendARP
Sends an ARP request to obtain the physical address that corresponds to the specified destination IP address.


Group: Kernel Transaction Manager

CommitTransaction
Requests that the specified transaction be committed.


CreateTransaction
Creates a new file system transaction object.


RollbackTransaction
Requests that the specified transaction be rolled back. This function is synchronous.


Group: Keyboard Input

ActivateKeyboardLayout
The ActivateKeyboardLayout function sets the input locale identifier (formerly called the keyboard layout handle) for the calling thread or the current process. The input locale identifier specifies a locale as well as the physical layout of the keyboard.


BlockInput
Blocks keyboard and mouse input events from reaching applications.


EnableWindow
Enables or disables mouse and keyboard input to the specified window or control.


GetActiveWindow
The GetActiveWindow function retrieves the window handle to the active window attached to the calling thread"s message queue.


GetAsyncKeyState
The GetAsyncKeyState function determines whether a key is up or down at the time the function is called, and whether the key was pressed after a previous call to GetAsyncKeyState.


GetFocus
Retrieves the handle to the window that has the keyboard focus, if the window is attached to the calling thread"s message queue.


GetKBCodePage
Returns the current code page.


GetKeyboardLayout
The GetKeyboardLayout function retrieves the active input locale identifier (formerly called the keyboard layout) for the specified thread. If the idThread parameter is zero, the input locale identifier for the active thread is returned.


GetKeyboardLayoutList
The GetKeyboardLayoutList function retrieves the input locale identifiers (formerly called keyboard layout handles) corresponding to the current set of input locales in the system.


GetKeyboardLayoutName
The GetKeyboardLayoutName function retrieves the name of the active input locale identifier (formerly called the keyboard layout).


GetKeyboardState
The GetKeyboardState function copies the status of the 256 virtual keys to the specified buffer.


GetKeyNameText
The GetKeyNameText function retrieves a string that represents the name of a key.


GetKeyState
The GetKeyState function retrieves the status of the specified virtual key. The status specifies whether the key is up, down, or toggled (on, off, alternating each time the key is pressed).


IsWindowEnabled
The IsWindowEnabled function determines whether the specified window is enabled for mouse and keyboard input.


keybd_event
Synthesizes a keystroke.


MapVirtualKey
Translates (maps) a virtual-key code into a scan code or character value, or translates a scan code into a virtual-key code.


RegisterHotKey
The RegisterHotKey function defines a system-wide hot key.


SetFocus
Sets the keyboard focus to the specified window. The window must be attached to the calling thread"s message queue


SetKeyboardState
The SetKeyboardState function copies a 256-byte array of keyboard key states into the calling thread"s keyboard input-state table.


ToAscii
Translates the specified virtual-key code and keyboard state to the corresponding character or characters.


UnregisterHotKey
The UnregisterHotKey function frees a hot key previously registered by the calling thread.


VkKeyScan
Translates a character to the corresponding virtual-key code and shift state for the current keyboard.


Group: Mailslot

CreateMailslot
The CreateMailslot function creates a mailslot with the specified name and returns a handle that a mailslot server can use to perform operations on it.


GetMailslotInfo
The GetMailslotInfo function retrieves information about the specified mailslot.


SetMailslotInfo
The SetMailslotInfo function sets the time-out value used by the specified mailslot for a read operation.


Group: Memory Management

CopyMemory


FillMemory
The FillMemory function fills a block of memory with a specified value.


GetProcessHeap
The GetProcessHeap function obtains a handle to the heap of the calling process. This handle can then be used in subsequent calls to the HeapAlloc, HeapReAlloc, HeapFree, and HeapSize functions.


GetProcessHeaps
The GetProcessHeaps function obtains handles to all of the heaps that are valid for the calling process.


GlobalAlloc
The GlobalAlloc function allocates the specified number of bytes from the heap


GlobalFree
The GlobalFree function frees the specified global memory object and invalidates its handle


GlobalLock
The GlobalLock function locks a global memory object and returns a pointer to the first byte of the object"s memory block.


GlobalMemoryStatus
The GlobalMemoryStatus function obtains information about the system"s current usage of both physical and virtual memory.


GlobalReAlloc
Changes the size or attributes of a specified global memory object. The size can increase or decrease.


GlobalSize
The GlobalSize function retrieves the current size, in bytes, of the specified global memory object


GlobalUnlock
Decrements the lock count associated with a memory object that was allocated with GMEM_MOVEABLE. This function has no effect on memory objects allocated with GMEM_FIXED.


HeapAlloc
The HeapAlloc function allocates a block of memory from a heap. The allocated memory is not movable.


HeapCompact
Attempts to compact a specified heap. It compacts the heap by coalescing adjacent free blocks of memory and decommitting large free blocks of memory.


HeapFree
The HeapFree function frees a memory block allocated from a heap by the HeapAlloc or HeapReAlloc function.


HeapLock
Attempts to acquire the critical section object, or lock, that is associated with a specified heap.


HeapReAlloc
The HeapReAlloc function reallocates a block of memory from a heap. This function enables you to resize a memory block and change other memory block properties. The allocated memory is not movable.


HeapSize
The HeapSize function retrieves the size of a memory block allocated from a heap by the HeapAlloc or HeapReAlloc function.


HeapUnlock
Releases ownership of the critical section object, or lock, that is associated with a specified heap. The HeapUnlock function reverses the action of the HeapLock function.


HeapValidate
Attempts to validate a specified heap. The function scans all the memory blocks in the heap, and verifies that the heap control structures maintained by the heap manager are in a consistent state.

You can also use the HeapValidate function to validate a single memory block within a specified heap, without checking the validity of the entire heap.


HeapWalk
Enumerates the memory blocks in a specified heap created or manipulated by heap memory allocators such as HeapAlloc, HeapReAlloc, and HeapFree.


LocalAlloc
The LocalAlloc function allocates the specified number of bytes from the heap.


LocalFree
The LocalFree function frees the specified local memory object and invalidates its handle.


LocalSize
The LocalSize function returns the current size of the specified local memory object, in bytes.


VirtualAllocEx
Reserves or commits a region of memory within the virtual address space of a specified process.


VirtualFreeEx
Releases, decommits, or releases and decommits a region of memory within the virtual address space of a specified process.


ZeroMemory
Fills a block of memory with zeros.


Group: Menu

AppendMenu
The AppendMenu function appends a new item to the end of the specified menu bar, drop-down menu, submenu, or shortcut menu.


CreateMenu
The CreateMenu function creates a menu. The menu is initially empty, but it can be filled with menu items by using the InsertMenuItem, AppendMenu, and InsertMenu functions.


CreatePopupMenu
The CreatePopupMenu function creates a drop-down menu, submenu, or shortcut menu.

The menu is initially empty. You can insert or append menu items by using the InsertMenuItem function. You can also use the InsertMenu function to insert menu items and the AppendMenu function to append menu items.


DeleteMenu
Deletes an item from the specified menu. If the menu item opens a menu or submenu, this function destroys the handle to the menu or submenu and frees the memory used by the menu or submenu.


DestroyMenu
The DestroyMenu function destroys the specified menu and frees any memory that the menu occupies.


DrawMenuBar
Redraws the menu bar of the specified window. If the menu bar changes after the system has created the window, this function must be called to draw the changed menu bar.


GetMenu
The GetMenu function retrieves a handle to the menu assigned to the specified window.


GetMenuBarInfo
Retrieves information about the specified menu bar.


GetMenuItemCount
The GetMenuItemCount function determines the number of items in the specified menu.


GetMenuItemID
The GetMenuItemID function retrieves the menu item identifier of a menu item located at the specified position in a menu.


GetMenuItemInfo
The GetMenuItemInfo function retrieves information about a menu item.


GetMenuString
The GetMenuString function copies the text string of the specified menu item into the specified buffer.


GetSubMenu
Retrieves a handle to the drop-down menu or submenu activated by the specified menu item.


GetSystemMenu
The GetSystemMenu function allows the application to access the window menu (also known as the system menu or the control menu) for copying and modifying.


InsertMenuItem
The InsertMenuItem function inserts a new menu item at the specified position in a menu.


IsMenu
The IsMenu function determines whether a handle is a menu handle.


SetMenu
The SetMenu function assigns a new menu to the specified window.


TrackPopupMenuEx
The TrackPopupMenuEx function displays a shortcut menu at the specified location and tracks the selection of items on the shortcut menu. The shortcut menu can appear anywhere on the screen.


Group: Message and Message Queue

BroadcastSystemMessage
Sends a message to the specified recipients. The recipients can be applications, installable drivers, network drivers, system-level device drivers, or any combination of these system components.


GetQueueStatus
The GetQueueStatus function indicates the type of messages found in the calling thread"s message queue.


MQCloseQueue
Closes a given queue or subqueue.


MQDeleteQueue
Deletes a queue from the directory service (in the case of public queues) or from the local computer (in the case of private queues).


MQHandleToFormatName
Returns a format name for the queue or subqueue based on its handle.


MQOpenQueue
Opens a queue for sending, peeking at, retrieving, or purging messages.


MQPathNameToFormatName
Returns a format name based on the path name provided.


MQPurgeQueue
Deletes all of the messages in a queue.


PeekMessage
The PeekMessage function dispatches incoming sent messages, checks the thread message queue for a posted message, and retrieves the message (if any exist).


PostMessage
Places (posts) a message in the message queue associated with the thread that created the specified window and returns without waiting for the thread to process the message.


PostQuitMessage
Indicates to the system that a thread has made a request to terminate (quit). It is typically used in response to a WM_DESTROY message.


SendMessage
Sends the specified message to a window or windows. It calls the window procedure for the specified window and does not return until the window procedure has processed the message.


Group: Metafile

CloseEnhMetaFile
The CloseEnhMetaFile function closes an enhanced-metafile device context and returns a handle that identifies an enhanced-format metafile.


CreateEnhMetaFile
The CreateEnhMetaFile function creates a device context for an enhanced-format metafile. This device context can be used to store a device-independent picture.


DeleteEnhMetaFile
The DeleteEnhMetaFile function deletes an enhanced-format metafile or an enhanced-format metafile handle.


GetEnhMetaFile
The GetEnhMetaFile function creates a handle that identifies the enhanced-format metafile stored in the specified file.


GetEnhMetaFileHeader
The GetEnhMetaFileHeader function retrieves the record containing the header for the specified enhanced-format metafile.


PlayEnhMetaFile
The PlayEnhMetaFile function displays the picture stored in the specified enhanced-format metafile.


Group: Monitor Configuration (Vista)

DestroyPhysicalMonitors
Closes an array of open monitor handles. That is one of a scary name for API function.


GetMonitorBrightness
Retrieves the minimum, maximum, and current brightness settings for a monitor.


GetMonitorCapabilities
Retrieves the configuration capabilities of a monitor. Call this function to find out which high-level monitor configuration functions are supported by the monitor.


GetMonitorContrast
Retrieves the minimum, maximum, and current contrast settings for a monitor.


GetNumberOfPhysicalMonitorsFromHMONITOR
Retrieves the number of physical monitors associated with an HMONITOR monitor handle.


GetPhysicalMonitorsFromHMONITOR
Retrieves the physical monitors associated with an HMONITOR monitor handle.


SetMonitorBrightness
Sets a monitor"s brightness value.


SetMonitorContrast
Sets the contrast value for a monitor.


Group: Mouse Input

DragDetect
The DragDetect function captures the mouse and tracks its movement until the user releases the left button, presses the ESC key, or moves the mouse outside the drag rectangle around the specified point.


GetCapture
The GetCapture function retrieves a handle to the window (if any) that has captured the mouse. Only one window at a time can capture the mouse; this window receives mouse input whether or not the cursor is within its borders.


GetDoubleClickTime
Retrieves the current double-click time for the mouse


GetMouseMovePointsEx
Retrieves a history of up to 64 previous coordinates of the mouse or pen.


ReleaseCapture
Releases the mouse capture from a window in the current thread and restores normal mouse input processing. A window that has captured the mouse receives all mouse input, regardless of the position of the cursor, except when a mouse button is clicked while the cursor hot spot is in the window of another thread.


SetCapture
The SetCapture function sets the mouse capture to the specified window belonging to the current thread.


SetDoubleClickTime
Sets the double-click time for the mouse


SwapMouseButton
The SwapMouseButton function reverses or restores the meaning of the left and right mouse buttons


Group: MSHTML Reference

ShowHTMLDialog
Creates a modal dialog box that displays HTML.


Group: Multilingual User Interface

GetProcessPreferredUILanguages
Retrieves the process preferred UI languages.


GetThreadUILanguage
Returns the language identifier of the first user interface language for the current thread.


GetUserDefaultUILanguage
Returns the language identifier for the user UI language for the current user.


SetProcessPreferredUILanguages
Sets the process preferred UI languages for the application process.


Group: Multiple Display Monitors

GetMonitorInfo
The GetMonitorInfo function retrieves information about a display monitor.


MonitorFromWindow
Retrieves a handle to the display monitor that has the largest area of intersection with the bounding rectangle of a specified window.


Group: National Language Support

CompareString
Compares two character strings, for a locale specified by identifier.


GetACP
Retrieves the current ANSI code-page identifier for the system.


GetCurrencyFormat
Formats a number string as a currency string for a locale specified by identifier.


GetDateFormat
Formats a date as a date string for a locale specified by the locale identifier. The function formats either a specified date or the local system date.


GetLocaleInfo
Retrieves information about a locale.


GetNumberFormat
Formats a number string as a number string customized for a locale specified by identifier.


GetOEMCP
Retrieves the current original equipment manufacturer (OEM) code-page identifier for the system.


GetStringTypeEx
Retrieves character type information for the characters in the specified source string. For each character in the string, the function sets one or more bits in the corresponding 16-bit element of the output array. Each bit identifies a given character type, for example, letter, digit, or neither.


GetSystemDefaultLangID
Retrieves the language identifier of the system locale.


GetSystemDefaultLCID
Retrieves the system default locale identifier.


GetSystemDefaultLocaleName
Retrieves the system default locale name.


GetThreadLocale
Retrieves the calling thread"s current locale.


GetUserDefaultLangID
Retrieves the language identifier of the current user locale.


GetUserDefaultLCID
Retrieves the user default locale identifier.


GetUserDefaultLocaleName
Retrieves the user default locale name.


GetUserGeoID
Retrieves information about the geographical location of the user.


LCIDToLocaleName
Converts a locale identifier to a locale name.


LocaleNameToLCID
Converts a locale name to a locale identifier.


NormalizeString
Normalizes characters of a text string according to Unicode 4.0 TR#15.


SetUserGeoID
Sets the geographical location identifier for the user. This identifier should have one of the values described in Table of Geographical Locations.


Group: Network Management

NetApiBufferFree
Frees the memory that the NetApiBufferAllocate function allocates. Call NetApiBufferFree to free the memory that other network management functions return on Windows NT, Windows 2000, and Windows XP.


NetApiBufferSize
The NetApiBufferSize function returns the size, in bytes, of a buffer allocated by a call to the NetApiBufferAllocate function.


NetConnectionEnum
Lists all connections made to a shared resource on the server or all connections established from a particular computer.


NetFileClose
The NetFileClose function forces a resource to close.


NetFileEnum
The NetFileEnum function returns information about some or all open files on a server, depending on the parameters specified.


NetFileGetInfo
The NetFileGetInfo function retrieves information about a particular opening of a server resource.


NetGetDCName
Returns the name of the primary domain controller (PDC). It does not return the name of the backup domain controller (BDC) for the specified domain.


NetGroupEnum
The NetGroupEnum function retrieves information about each global group in the security database, which is the security accounts manager (SAM) database or, in the case of domain controllers, the Active Directory.


NetLocalGroupEnum
The NetLocalGroupEnum function returns information about each local group account on the specified server.


NetMessageBufferSend
Sends a buffer of information to a registered message alias.


NetMessageNameAdd
Registers a message alias in the message name table. The function requires that the messenger service be started.


NetMessageNameDel
Deletes a message alias in the message name table. The function requires that the messenger service be started.


NetMessageNameEnum
Lists the message aliases that receive messages on a specified computer. The function requires that the messenger service be started.


NetScheduleJobAdd
Submits a job to run at a specified future time and date.


NetScheduleJobDel
The NetScheduleJobDel function deletes a range of jobs queued to run at a computer.


NetScheduleJobEnum
Lists the jobs queued on a specified computer.


NetServerEnum
Lists all servers of the specified type that are visible in a domain.


NetServerGetInfo
The NetServerGetInfo function retrieves current configuration information for the specified server.


NetSessionEnum
Provides information about sessions established on a server.


NetShareAdd
Shares a server resource.


NetShareDel
Deletes a share name from a server"s list of shared resources, disconnecting all connections to the shared resource.


NetShareEnum
The NetShareEnum function retrieves information about each shared resource on a server or the local computer.


NetShareSetInfo
Sets the parameters of a shared resource.


NetUserAdd
Adds a user account and assigns a password and privilege level.


NetUserChangePassword
Changes user's password for a specified network server or domain.


NetUserDel
Deletes a user account from a server.


NetUserEnum
The NetUserEnum function provides information about all user accounts on a server.


NetUserGetGroups
The NetUserGetGroups function retrieves a list of global groups to which a specified user belongs.


NetUserGetInfo
Retrieves information about a particular user account on a server.


NetUserGetLocalGroups
The NetUserGetLocalGroups function retrieves a list of local groups to which a specified user belongs.


NetUserSetInfo
Sets the parameters of a user account.


NetWkstaGetInfo
The NetWkstaGetInfo function returns information about the configuration of a workstation.


NetWkstaTransportEnum
The NetWkstaTransportEnum function supplies information about transport protocols that are managed by the redirector, which is the software on the client computer that generates file requests to the server computer.


NetWkstaUserEnum
The NetWkstaUserEnum function lists information about all users currently logged on to the workstation. This list includes interactive, service and batch logons.


Group: ODBC API

SQLAllocEnv
In ODBC 3.x, the ODBC 2.x function SQLAllocEnv has been replaced by SQLAllocHandle.


SQLAllocHandle
SQLAllocHandle allocates an environment, connection, statement, or descriptor handle.


SQLBindCol
SQLBindCol binds application data buffers to columns in the result set.


SQLBrowseConnect
SQLBrowseConnect supports an iterative method of discovering and enumerating the attributes and attribute values required to connect to a data source. Each call to SQLBrowseConnect returns successive levels of attributes and attribute values.


SQLConfigDataSource
SQLConfigDataSource adds, modifies, or deletes data sources.


SQLConnect
SQLConnect establishes connections to a driver and a data source.


SQLCreateDataSource
SQLCreateDataSource displays a dialog box with which the user can add a data source.


SQLDataSources
SQLDataSources returns information about a data source. This function is implemented solely by the Driver Manager.


SQLDisconnect
SQLDisconnect closes the connection associated with a specific connection handle.


SQLDriverConnect
SQLDriverConnect is an alternative to SQLConnect. It supports data sources that require more connection information than the three arguments in SQLConnect, dialog boxes to prompt the user for all connection information, and data sources that are not defined in the system information.


SQLDrivers
SQLDrivers lists driver descriptions and driver attribute keywords.


SQLExecDirect
SQLExecDirect executes a preparable statement, using the current values of the parameter marker variables if any parameters exist in the statement.


SQLFetch
SQLFetch fetches the next rowset of data from the result set and returns data for all bound columns.


SQLFreeEnv
In ODBC 3.x, the ODBC 2.0 function SQLFreeEnv has been replaced by SQLFreeHandle.


SQLFreeHandle
SQLFreeHandle frees resources associated with a specific environment, connection, statement, or descriptor handle.


SQLGetConfigMode
Retrieves the configuration mode that indicates where the Odbc.ini entry listing DSN values is in the system information.


SQLGetConnectAttr
SQLGetConnectAttr returns the current setting of a connection attribute.


SQLGetDiagRec
SQLGetDiagRec returns the current values of multiple fields of a diagnostic record that contains error, warning, and status information.


SQLGetEnvAttr
SQLGetEnvAttr returns the current setting of an environment attribute.


SQLGetFunctions
SQLGetFunctions returns information about whether a driver supports a specific ODBC function.


SQLGetInfo
SQLGetInfo returns general information about the driver and data source associated with a connection.


SQLGetInstalledDrivers
SQLGetInstalledDrivers reads the [ODBC Drivers] section of the system information and returns a list of descriptions of the installed drivers.


SQLGetPrivateProfileString
SQLGetPrivateProfileString gets a list of names of values or data corresponding to a value of the system information.


SQLInstallerError
SQLInstallerError returns error or status information for the ODBC installer functions.


SQLManageDataSources
SQLManageDataSources displays a dialog box with which users can set up, add, and delete data sources in the system information.


SQLNativeSql
SQLNativeSql returns the SQL string as modified by the driver. SQLNativeSql does not execute the SQL statement.


SQLRowCount
SQLRowCount returns the number of rows affected by an UPDATE, INSERT, or DELETE statement.


SQLSetConfigMode
Sets the configuration mode that indicates where the Odbc.ini entry listing DSN values is in the system information.


SQLSetEnvAttr
SQLSetEnvAttr sets attributes that govern aspects of environments.


SQLTables
Returns the list of table, catalog, or schema names, and table types, stored in a specific data source. The driver returns the information as a result set.


Group: Painting and Drawing

DrawAnimatedRects
The DrawAnimatedRects function draws a wire-frame rectangle and animates it to indicate the opening of an icon or the minimizing or maximizing of a window.


DrawCaption
The DrawCaption function draws a window caption.


DrawEdge
The DrawEdge function draws one or more edges of rectangle.


DrawFrameControl
The DrawFrameControl function draws a frame control of the specified type and style.


GdiFlush
Flushes the calling thread's current batch.


GdiGetBatchLimit
Returns the maximum number of function calls that can be accumulated in the calling thread's current batch.


GdiSetBatchLimit
Sets the maximum number of function calls that can be accumulated in the calling thread's current batch. The system flushes the current batch whenever this limit is exceeded.


GetBkMode
Returns the current background mix mode for a specified device context. The background mix mode of a device context affects text, hatched brushes, and pen styles that are not solid lines.


GetBoundsRect
The GetBoundsRect function obtains the current accumulated bounding rectangle for a specified device context. The system maintains an accumulated bounding rectangle for each application. An application can retrieve and set this rectangle.


GetWindowDC
The GetWindowDC function retrieves the device context (DC) for the entire window, including title bar, menus, and scroll bars


GetWindowRgnBox
Retrieves the dimensions of the tightest bounding rectangle for the window region of a window.


LockWindowUpdate
The LockWindowUpdate function disables or enables drawing in the specified window. Only one window can be locked at a time.


PaintDesktop
Fills the clipping region in the specified device context with the desktop pattern or wallpaper.


SetBkColor
The SetBkColor function sets the current background color to the specified color value, or to the nearest physical color if the device cannot represent the specified color value.


SetBkMode
Sets the background mix mode of the specified device context. The background mix mode is used with text, hatched brushes, and pen styles that are not solid lines.


SetWindowRgn
Sets the window region of a window. The window region determines the area within the window where the system permits drawing. The system does not display any portion of a window that lies outside of the window region


WindowFromDC
Returns a handle to the window associated with the specified display device context (DC).


Group: Path

BeginPath
The BeginPath function opens a path bracket in the specified device context.


EndPath
The EndPath function closes a path bracket and selects the path defined by the bracket into the specified device context.


PathToRegion
Creates a region from the path that is selected into the specified device context. The resulting region uses device coordinates.


Group: Performance Monitoring

CreateToolhelp32Snapshot
Takes a snapshot of the processes and the heaps, modules, and threads used by the processes.


EnumDeviceDrivers
The EnumDeviceDrivers function retrieves the load address for each device driver in the system.


EnumProcesses
The EnumProcesses function retrieves the process identifier for each process object in the system.


EnumProcessModules
The EnumProcessModules function retrieves a handle for each module in the specified process.


GetDeviceDriverBaseName
The GetDeviceDriverBaseName function retrieves the base name of the specified device driver.


GetDeviceDriverFileName
The GetDeviceDriverFileName function retrieves the fully qualified path for the specified device driver.


GetModuleBaseName
The GetModuleBaseName function retrieves the base name of the specified module.


GetModuleFileNameEx
The GetModuleFileNameEx function retrieves the fully qualified path for the specified module.


GetPerformanceInfo
Retrieves the performance values contained in the PERFORMANCE_INFORMATION structure.


GetProcessMemoryInfo
Retrieves information about the memory usage of the specified process in the PROCESS_MEMORY_COUNTERS structure.


Process32First
Retrieves information about the first process encountered in a system snapshot.


Process32Next
Retrieves information about the next process recorded in a system snapshot.


Group: Pipe

ConnectNamedPipe
Enables a named pipe server process to wait for a client process to connect to an instance of a named pipe.


CreateNamedPipe
Creates an instance of a named pipe and returns a handle for subsequent pipe operations.


CreatePipe
The CreatePipe function creates an anonymous pipe, and returns handles to the read and write ends of the pipe.


DisconnectNamedPipe
Disconnects the server end of a named pipe instance from a client process.


SetNamedPipeHandleState
Sets the read mode and the blocking mode of the specified named pipe. If the specified handle is to the client end of a named pipe and if the named pipe server process is on a remote computer, the function can also be used to control local buffering.


Group: PnP Configuration Manager

CM_Connect_Machine
Creates a connection to a remote machine


CM_Disconnect_Machine
Removes a connection to a remote machine established in a previous call to CM_Connect_Machine.


CM_Get_Child_Ex
The function is used to retrieve a device instance handle to the first child node of a specified device node, in a local or a remote machine"s device tree.


CM_Get_Sibling_Ex
Obtains a device instance handle to the next sibling node of a specified device node, in a local or a remote machine"s device tree.


CM_Locate_DevNode_Ex
Obtains a device instance handle to the device node that is associated with a specified device instance identifier, on a local machine or a remote machine.


CM_Request_Device_Eject_Ex
Prepares a local or a remote device instance for safe removal, if the device is removable.


Group: Power Management

GetPwrCapabilities
The GetPwrCapabilities function retrieves information about the system power capabilities.


GetSystemPowerStatus
Retrieves the power status of the system. The status indicates whether the system is running on AC or DC power, whether the battery is currently charging, and how much battery life remains.


IsPwrSuspendAllowed
Determines whether the computer supports the sleep states.


SetSuspendState
The SetSuspendState function suspends the system by shutting power down. Depending on the Hibernate parameter, the system either enters a suspend (sleep) state or hibernation (S4).


SetSystemPowerState
The SetSystemPowerState function suspends the system by shutting power down. Depending on the ForceFlag parameter, the function either suspends operation immediately or requests permission from all applications and device drivers before doing so.


SetThreadExecutionState
Enables applications to inform the system that it is in use, thereby preventing the system from entering the sleeping power state or turning off the display while the application is running.


Group: Printing and Print Spooler

AddPort
Adds the name of a port to the list of supported ports. The AddPort function is exported by the port monitor.


AddPrinter
The AddPrinter function adds a printer to the list of supported printers for a specified server.


ClosePrinter
The ClosePrinter function closes the specified printer object.


ConfigurePort
The ConfigurePort function displays the port-configuration dialog box for a port on the specified server.


ConnectToPrinterDlg
The ConnectToPrinterDlg function displays a dialog box that lets users browse and connect to printers on a network. If the user selects a printer, the function attempts to create a connection to it; if a suitable driver is not installed on the server, the user is given the option of creating a printer locally.


DeletePort
Displays a dialog box that allows the user to delete a port name.


DeviceCapabilities
The DeviceCapabilities function retrieves the capabilities of a printer device driver.


DocumentProperties
The DocumentProperties function retrieves or modifies printer initialization information or displays a printer-configuration property sheet for the specified printer.


EndDoc
The EndDoc function ends a print job.


EndPage
The EndPage function notifies the device that the application has finished writing to a page. This function is typically used to direct the device driver to advance to a new page.


EnumForms
The EnumForms function enumerates the forms supported by the specified printer.


EnumJobs
The EnumJobs function retrieves information about a specified set of print jobs for a specified printer.


EnumPorts
The EnumPorts function enumerates the ports that are available for printing on a specified server.


EnumPrinterData
The EnumPrinterData function enumerates configuration data for a specified printer.


EnumPrinterDrivers
Enumerates the printer drivers installed on a specified printer server.


EnumPrinters
The EnumPrinters function enumerates available printers, print servers, domains, or print providers.


EnumPrintProcessorDatatypes
The EnumPrintProcessorDatatypes function enumerates the data types that a specified print processor supports.


EnumPrintProcessors
The EnumPrintProcessors function enumerates the print processors installed on the specified server.


Escape
The Escape function enables applications to access capabilities of a particular device not directly available through GDI. Escape calls made by an application are translated and sent to the driver.


FindClosePrinterChangeNotification
Closes a change notification object created by calling the FindFirstPrinterChangeNotification function.


FindFirstPrinterChangeNotification
Creates a change notification object and returns a handle to the object. You can then use this handle in a call to one of the wait functions to monitor changes to the printer or print server.


FindNextPrinterChangeNotification
Retrieves information about the most recent change notification for a change notification object associated with a printer or print server. Call this function when a wait operation on the change notification object is satisfied.


FreePrinterNotifyInfo
Frees a system-allocated buffer created by the FindNextPrinterChangeNotification function.


GetDefaultPrinter
The GetDefaultPrinter function retrieves the printer name of the default printer for the current user on the local computer.


GetPrinter
The GetPrinter function retrieves information about a specified printer.


GetPrinterData
The GetPrinterData function retrieves configuration data for the specified printer or print server.


GetPrinterDriverDirectory
The GetPrinterDriverDirectory function retrieves the path of the printer-driver directory.


GetPrintProcessorDirectory
The GetPrintProcessorDirectory function retrieves the path for the print processor on the specified server.


OpenPrinter
The OpenPrinter function retrieves a handle to the specified printer or print server or other types of handles in the print subsystem.


PrinterProperties
The PrinterProperties function displays a printer-properties property sheet for the specified printer.


SetDefaultPrinter
Sets the printer name of the default printer for the current user on the local computer.


SetJob
The SetJob function pauses, resumes, cancels, or restarts a print job on a specified printer. You can also use the SetJob function to set print job parameters, such as the print job priority and the document name.


SetPrinter
The SetPrinter function sets the data for a specified printer or sets the state of the specified printer by pausing printing, resuming printing, or clearing all print jobs.


StartDoc
The StartDoc function starts a print job.


StartPage
The StartPage function prepares the printer driver to accept data.


Group: Process and Thread

AssignProcessToJobObject
Assigns a process to an existing job object.


CommandLineToArgvW
Parses a Unicode command-line string, and returns a pointer to a set of Unicode argument strings and a count of arguments, similar to the standard C run-time argv and argc values


CreateJobObject
Creates or opens a job object.


CreateProcess
The CreateProcess function creates a new process and its primary thread. The new process runs the specified executable file.

The CreateProcess function is used to run a new program. The WinExec and LoadModule functions are still available, but they are implemented as calls to CreateProcess


CreateProcessAsUser
The CreateProcessAsUser function creates a new process and its primary thread. The new process then runs the specified executable file. The CreateProcessAsUser function is similar to the CreateProcess function, except that the new process runs in the security context of the user represented by the hToken parameter.


CreateProcessWithLogonW
The CreateProcessWithLogonW function creates a new process and its primary thread. The new process then runs the specified executable file in the security context of the specified credentials (user, domain, and password). It can optionally load the user profile for the specified user.


ExitProcess
The ExitProcess function ends a process and all its threads.


FreeEnvironmentStrings
The FreeEnvironmentStrings function frees a block of environment strings.


GetCommandLine
Returns a pointer to the command-line string for the current process.


GetCurrentProcess
The GetCurrentProcess function retrieves a pseudo handle for the current process.


GetCurrentProcessId
The GetCurrentProcessId function retrieves the process identifier of the calling process.


GetCurrentThread
The GetCurrentThread function retrieves a pseudo handle for the current thread.


GetCurrentThreadId
The GetCurrentThreadId function retrieves the thread identifier of the calling thread.


GetEnvironmentStrings
Retrieves the environment block for the current process.


GetEnvironmentVariable
Retrieves the value of the specified variable from the environment block of the calling process. The value is in the form of a null-terminated string of characters.


GetPriorityClass
Retrieves the priority class for the specified process. This value, together with the priority value of each thread of the process, determines each thread"s base priority level.


GetProcessIoCounters
Retrieves accounting information for all I/O operations performed by the specified process.


GetProcessTimes
Retrieves timing information for the specified process.


GetProcessVersion
Retrieves the major and minor version numbers of the system on which the specified process expects to run.


GetStartupInfo
Retrieves the contents of the STARTUPINFO structure that was specified when the calling process was created.


GetThreadPriority
Retrieves 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.


IsWow64Process
Determines whether the specified process is running under WOW64.


OpenProcess
The OpenProcess function opens an existing process object.


RegisterServiceProcess
The RegisterServiceProcess function registers or unregisters a service process. A service process continues to run after the user logs off.


SetEnvironmentVariable
The SetEnvironmentVariable function sets the value of an environment variable for the current process.


SetPriorityClass
Sets the priority class for the specified process. This value together with the priority value of each thread of the process determines each thread"s base priority level.


SetThreadPriority
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.


Sleep
The Sleep function suspends the execution of the current thread for the specified interval


TerminateJobObject
Terminates all processes currently associated with the job.


TerminateProcess
The TerminateProcess function terminates the specified process and all of its threads.


WinExec
The WinExec function runs the specified application.

Note This function is provided only for compatibility with 16-bit Windows. Win32-based applications should use the CreateProcess function


Group: Raw Input

GetRawInputData
Retrieves the raw input from the specified device.


GetRawInputDeviceInfo
Retrieves information about the raw input device.


GetRawInputDeviceList
Enumerates the raw input devices attached to the system.


RegisterRawInputDevices
Registers the devices that supply the raw input data.


Group: Region

CombineRgn
The CombineRgn function combines two regions and stores the result in a third region. The two regions are combined according to the specified mode.


CreateEllipticRgn
The CreateEllipticRgn function creates an elliptical region.


CreateRectRgn
Creates a rectangular region.


CreateRoundRectRgn
Creates a rectangular region with rounded corners.


FrameRgn
The FrameRgn function draws a border around the specified region by using the specified brush.


GetRegionData
Fills the specified buffer with data describing a region. This data includes the dimensions of the rectangles that make up the region.


GetRgnBox
Retrieves the bounding rectangle of the specified region.


Group: Registry

GetPrivateProfileSectionNames
The GetPrivateProfileSectionNames function retrieves the names of all sections in an initialization file.


GetPrivateProfileString
Retrieves a string from the specified section in an initialization file.


GetProfileString
Retrieves the string associated with a key in the specified section of the Win.ini file.


RegCloseKey
The RegCloseKey function releases a handle to the specified registry key.


RegCreateKeyEx
The RegCreateKeyEx function creates the specified registry key. If the key already exists, the function opens it.


RegDeleteKey
The RegDeleteKey function deletes a subkey, including all of its values.


RegDeleteValue
The RegDeleteValue function removes a named value from the specified registry key.


RegEnumKey
The RegEnumKey function enumerates subkeys of the specified open registry key. The function retrieves the name of one subkey each time it is called.


RegEnumKeyEx
The RegEnumKeyEx function enumerates subkeys of the specified open registry key. The function retrieves information about one subkey each time it is called.


RegEnumValue
Enumerates the values for the specified open registry key.


RegOpenKeyEx
The RegOpenKeyEx function opens the specified registry key.


RegQueryInfoKey
The RegQueryInfoKey function retrieves information about the specified registry key.


RegQueryValueEx
Retrieves the type and data for a specified value name associated with an open registry key.


RegSaveKey
The RegSaveKey function saves the specified key and all of its subkeys and values to a new file.


RegSetValueEx
The RegSetValueEx function sets the data and type of a specified value under a registry key.


SHEnumKeyEx
Enumerates the subkeys of the specified open registry key.


SHRegCloseUSKey
Closes a handle to a user-specific registry key.


SHRegEnumUSKey
Enumerates the subkeys of a user-specific key.


SHRegOpenUSKey
Opens a user-specific registry key.


WritePrivateProfileSection
Replaces the keys and values for the specified section in an initialization file.


WritePrivateProfileString
The WritePrivateProfileString function copies a string into the specified section of an initialization file.


Group: Remote Access Service (RAS)

RasEnumAutodialAddresses
The RasEnumAutodialAddresses function returns a list of all addresses in the AutoDial mapping database.


RasEnumConnections
The RasEnumConnections function lists all active RAS connections. It returns each connection"s handle and phone-book entry name.


RasEnumDevices
The RasEnumDevices function returns the name and type of all available RAS-capable devices.


RasGetCountryInfo
The RasGetCountryInfo function retrieves country-specific dialing information from the Windows Telephony list of countries.


RasPhonebookDlg
The RasPhonebookDlg function displays the main Dial-Up Networking dialog box. From this modal dialog box, the user can dial, edit, or delete a selected phone-book entry, create a new phone-book entry, or specify user preferences. The RasPhonebookDlg function returns when the dialog box closes.


Group: Remote Application Programming (RAPI)

CeCloseHandle
This function closes an open object handle.


CeCopyFile
This function copies an existing file to a new file.


CeCreateDatabase
This function creates a new database.


CeCreateDirectory
This function creates a new directory.


CeCreateFile
This function creates, opens, or truncates a file, pipe, communications resource, disk device, or console. It returns a handle that can be used to access the object. It can also open and return a handle to a directory.


CeCreateProcess
This function is used to run a new program. It creates a new process and its primary thread. The new process executes the specified executable file.


CeDeleteDatabase
This function removes a database from the object store.


CeDeleteFile
This function deletes an existing file from the object store.


CeDeleteRecord
This function deletes a record from a database.


CeEnumDBVolumes
This function enumerates all mounted database volumes and returns the name for each.


CeFindAllFiles
This function retrieves information about all files and directories in the given directory of the Windows CE object store.


CeFindFirstDatabaseEx
This function opens an enumeration context for all databases in a database volume.


CeFindFirstFile
This function searches a directory for a file whose name matches the specified filename. CeFindFirstFile examines subdirectory names as well as filenames.


CeFindNextDatabaseEx
This function retrieves the next database in an enumeration context.


CeGetFileSize
This function retrieves the size, in bytes, of the specified file.


CeGetLastError
This function returns the calling thread"s last-error code value.


CeGetSpecialFolderPath
This function gets the path to a special shell folder.


CeGetStoreInformation
This function fills in a STORE_INFORMATION structure with the size of the object store and the amount of free space currently in the object store.


CeGetSystemInfo
This function returns information about the current system.


CeGetSystemPowerStatusEx
This function retrieves the power status of the system.


CeGetTempPath
This function gets the path to the directory designated for temporary files.


CeGetVersionEx
This function obtains extended information about the version of the operating system that is currently running.


CeGlobalMemoryStatus
This function gets information on the physical and virtual memory of the system.


CeMoveFile
This function renames an existing file or a directory including all its children.


CeOidGetInfoEx
This function retrieves information about an object in the object store or a mounted database volume.


CeOpenDatabase
This function opens an existing database on any database volume, including mounted databases.


CeRapiFreeBuffer
This function frees the memory on the desktop computer allocated by a call to CeFindAllDatabases, CeFindAllFiles, or CeReadRecordProps.


CeRapiGetError
This function reports remote API related failures. CeRapiGetError can be used to determine if a call failed due to a failure in the remote API.


CeRapiInit
This function attempts to initialize the Windows CE remote application programming interface (RAPI).


CeRapiInitEx
This function attempts to initialize the Windows CE remote application programming interface (RAPI) and initially returns an event handle.


CeRapiInvoke
This function can be used as a general-purpose mechanism to remotely execute a routine on the Windows CE device.


CeRapiUninit
This function uninitializes the Windows CE remote application programming interface (RAPI).


CeReadFile
This function reads data from a file, starting at the position indicated by the file pointer.


CeReadRecordProps
This function reads properties from the current record.


CeRegCloseKey
This function releases the handle of the specified key.


CeRegCreateKeyEx
This function creates the specified key. If the key already exists in the registry, the function opens it.


CeRegDeleteKey
This function deletes a named subkey from the specified registry key. The subkey to be deleted cannot have any subkeys.


CeRegDeleteValue
This function removes a named value from the specified registry key.


CeRegEnumKeyEx
This function enumerates subkeys of the specified open registry key.


CeRegEnumValue
This function enumerates the values for the specified open registry key. CeRegEnumValue copies one indexed value name and data block for the key each time it is called.


CeRegOpenKeyEx
This function opens the specified key.


CeRegQueryInfoKey
This function retrieves information about a specified registry key.


CeRegQueryValueEx
This function retrieves the type and data for a specified value name associated with an open registry key.


CeRegSetValueEx
This function stores data in the value field of an open registry key. It can also set additional value and type information for the specified key.


CeRemoveDirectory
This function deletes an existing empty directory.


CeSeekDatabase
This function seeks the specified record in an open database.


CeSetFilePointer
This function moves the file pointer of an open file.


CeWriteFile
This function writes data to a file on remote Windows CE device.


CeWriteRecordProps
This function writes a set of properties to a single record, creating the record if necessary.


Group: Remote Procedure Call (RPC)

RpcStringFree
Frees a character string allocated by the RPC run-time library.


UuidCompare
Compare two UUIDs and determine their order. The returned value gives the order.


UuidCreate
Creates a new UUID.


UuidCreateNil
Creates a nil-valued UUID.


UuidCreateSequential
Creates a new UUID.


UuidFromString
Converts a string to a UUID.


UuidToString
Converts a UUID to a string.


Group: Resource

BeginUpdateResource
The BeginUpdateResource function returns a handle that can be used by the UpdateResource function to add, delete, or replace resources in an executable file.


CopyImage
Creates a new image (icon, cursor, or bitmap) and copies the attributes of the specified image to the new one. If necessary, the function stretches the bits to fit the desired size of the new image.


EndUpdateResource
The EndUpdateResource function ends a resource update in an executable file.


FindResource
The FindResource function determines the location of a resource with the specified type and name in the specified module.


LoadImage
The LoadImage function loads an icon, cursor, animated cursor, or bitmap.


LoadResource
The LoadResource function loads the specified resource into global memory.


LoadString
Loads a string resource from the executable file associated with a specified module, copies the string into a buffer, and appends a terminating null character.


LockResource
The LockResource function locks the specified resource in memory.


SizeofResource
The SizeofResource function returns the size, in bytes, of the specified resource.


UpdateResource
The UpdateResource function adds, deletes, or replaces a resource in an executable file.


Group: Security

ConvertSidToStringSid
Converts a security identifier (SID) to a string format suitable for display, storage, or transmission.


GetAce
Obtains a pointer to an access control entry (ACE) in an access control list (ACL).


GetAclInformation
Retrieves information about an access control list (ACL).


GetFileSecurity
The GetFileSecurity function obtains specified information about the security of a file or directory.


GetLengthSid
The GetLengthSid function returns the length, in bytes, of a valid security identifier (SID).


GetNamedSecurityInfo
The GetNamedSecurityInfo function retrieves a copy of the security descriptor for an object specified by name.


GetSecurityDescriptorDacl
Retrieves a pointer to the discretionary access control list (DACL) in a specified security descriptor.


GetSecurityDescriptorOwner
The GetSecurityDescriptorOwner function retrieves the owner information from a security descriptor.


ImpersonateLoggedOnUser
The ImpersonateLoggedOnUser function lets the calling thread impersonate the security context of a logged-on user. The user is represented by a token handle.


IsValidSid
The IsValidSid function validates a security identifier (SID) by verifying that the revision number is within a known range, and that the number of subauthorities is less than the maximum.


IsWellKnownSid
Compares a SID to a well known SID and returns TRUE if they match.


LogonUser
The LogonUser function attempts to log a user on to the local computer. The local computer is the computer from which LogonUser was called. You cannot use LogonUser to log on to a remote computer.


LookupAccountName
Accepts the name of a system and an account as input. It retrieves a security identifier (SID) for the account and the name of the domain on which the account was found.


LookupAccountSid
The LookupAccountSid function accepts a security identifier (SID) as input. It retrieves the name of the account for this SID and the name of the first domain on which this SID is found.


LsaClose
The LsaClose function closes a handle to a Policy or TrustedDomain object.


LsaEnumerateLogonSessions
Retrieves the set of existing logon session identifiers (LUIDs) and the number of sessions.


LsaFreeMemory
The LsaFreeMemory function frees memory allocated for an output buffer by an LSA function call.


LsaFreeReturnBuffer
Frees the memory used by a buffer previously allocated by the LSA.


LsaGetLogonSessionData
Retrieves information about a specified logon session.


LsaLookupSids
The LsaLookupSids function looks up the names that correspond to an array of SIDs.


LsaOpenPolicy
The LsaOpenPolicy function opens a handle to the Policy object on a local or remote system.


RevertToSelf
The RevertToSelf function terminates the impersonation of a client application.


Group: Service

CloseServiceHandle
The CloseServiceHandle function closes a handle to a service control manager or service object.


ControlService
The ControlService function sends a control code to a service.


CreateService
Creates a service object and adds it to the specified service control manager database.


DeleteService
Marks the specified service for deletion from the service control manager database.


EnumServicesStatus
The EnumServicesStatus function enumerates services in the specified service control manager database.


GetUserObjectInformation
The GetUserObjectInformation function retrieves information about a window station or desktop object.


LockServiceDatabase
The LockServiceDatabase function requests ownership of the service control manager database lock. Only one process can own the lock at any given time.


OpenSCManager
The OpenSCManager function establishes a connection to the service control manager on the specified computer and opens the specified service control manager database.


OpenService
The OpenService function opens an existing service.


StartService
The StartService function starts a service.


UnlockServiceDatabase
The UnlockServiceDatabase function unlocks a service control manager database by releasing the specified lock.


Group: Setup API functions

SetupCloseInfFile
Closes the INF file opened by a call to SetupOpenInfFile and any INF files appended to it by SetupOpenAppendInfFile.


SetupDiDestroyClassImageList
Destroys a class image list that was built by a call to SetupDiGetClassImageList or SetupDiGetClassImageListEx.


SetupDiGetClassImageIndex
Retrieves the index within the class image list of a specified class.


SetupDiGetClassImageListEx
Builds an image list of bitmaps for every class installed on a local or remote system.


SetupGetInfFileList
Returns a list of INF files located in a caller-specified directory to a call-supplied buffer.


SetupGetInfInformation
Returns the SP_INF_INFORMATION structure for the specified INF file to a caller-supplied buffer.


SetupOpenInfFile
The SetupOpenInfFile function opens an INF file and returns a handle to it.


Group: Shell Functions

AssocQueryString
Searches for and retrieves a file or protocol association-related string from the registry.


DllGetVersion
Implemented by many of the Microsoft® Windows® Shell dynamic-link libraries (DLLs) to allow applications to obtain DLL-specific version information.


DragAcceptFiles
Registers whether a window accepts dropped files.


DragFinish
Releases memory that the system allocated for use in transferring file names to the application.


DragQueryFile
Retrieves the names of dropped files that result from a successful drag-and-drop operation.


DragQueryPoint
Retrieves the position of the mouse pointer at the time a file was dropped during a drag-and-drop operation.


FileIconInit
Reinitializes the system image list.


FindExecutable
Retrieves the name of and handle to the executable (.exe) file associated with the specified file name.


GetFileNameFromBrowse
This function creates an Open dialog box that lets the user specify the drive, directory, and name of a file to open.


GetMenuContextHelpId
Retrieves the Help context identifier associated with the specified menu.


GetWindowContextHelpId
The GetWindowContextHelpId function retrieves the help context identifier, if any, associated with the specified window.

Windows NT only


InetIsOffline
Determines whether or not the system is connected to the Internet.


IsUserAnAdmin
Tests whether the current user is a member of the Administrator"s group.


LoadUserProfile
Loads the specified user"s profile. The profile can be a local user profile or a roaming user profile.


PathMakeUniqueName
Creates a unique path name from a template.


PathYetAnotherMakeUniqueName
Creates a unique filename based on an existing filename.


RealDriveType
Determines the drive type based on the drive number.


RestartDialog
Displays a dialog box that prompts the user to restart Microsoft® Windows®. When the user clicks the button, the function calls ExitWindowsEx to attempt to restart Windows.


SHAddToRecentDocs
Adds a document to the Shell"s list of recently used documents or clears all documents from the list.


SHBrowseForFolder
Displays a dialog box that enables the user to select a Shell folder.


SHCreateDirectory
Creates a folder.


ShellAbout
Displays a Shell About dialog box


ShellExecute
Performs an operation on a specified file.


ShellExecuteEx
Performs an action on a file.


Shell_GetImageLists
Retrieves system image lists for large and small icons -- undocumented.


Shell_NotifyIcon
Sends a message to the taskbar"s status area.


SHEmptyRecycleBin
Empties the Recycle Bin on the specified drive.


SHFileOperation
Copies, moves, renames, or deletes a file system object.


SHFormatDrive
The SHFormatDrive API provides access to the Shell"s format dialog box. This allows applications that want to format disks to bring up the same dialog box that the Shell uses for disk formatting.


SHGetFileInfo
Retrieves information about an object in the file system, such as a file, a folder, a directory, or a drive root.


SHGetFolderPath
Takes the CSIDL of a folder and returns the pathname.


SHGetPathFromIDList
Converts an item identifier list to a file system path.


SHGetSpecialFolderLocation
Retrieves a pointer to the ITEMIDLIST structure of a special folder.


SHGetStockIconInfo
Retrieves information about system-defined Shell icons.


SHParseDisplayName
Translates a Shell namespace object"s display name into an item identifier list and returns the attributes of the object. This function is the preferred method to convert a string to a pointer to an item identifier list (PIDL).


SHQueryRecycleBin
Retrieves the size of the Recycle Bin, and the number of items in it, on the specified drive.


SHSimpleIDListFromPath
Returns a pointer to an ITEMIDLIST structure when passed a path.


UnloadUserProfile
Unloads a user"s profile that was loaded by the LoadUserProfile function.


WinHelp
The WinHelp function starts Windows Help (WINHELP.EXE) and passes additional data indicating the nature of the help requested by the application


Group: Shell Lightweight Utility APIs -- misc. functions

DllInstall
Handles installation and setup for a dynamic-link library (DLL).


HashData
Hashes an array of data.


Group: Shell Lightweight Utility APIs -- Path Functions

PathBuildRoot
Creates a root path from a given drive number.


PathCombine
Concatenates two strings that represent properly formed paths into one path; also concatenates any relative path elements.


PathCompactPathEx
Truncates a path to fit within a certain number of characters by replacing path components with ellipses.


PathFileExists
Determines whether a path to a file system object such as a file or directory is valid.


PathFindExtension
Searches a path for an extension.


PathFindFileName
Searches a path for a file name.


PathFindOnPath
Searches for a file.


PathGetDriveNumber
Searches a path for a drive letter within the range of "A" to "Z" and returns the corresponding drive number.


PathGetShortPath
Retrieves the short path form of a specified input path.


PathIsDirectory
Verifies that a path is a valid directory.


PathIsNetworkPath
Determines whether a path string represents a network resource.


PathIsRelative
Searches a path and determines if it is relative.


PathIsRoot
Parses a path to determine if it is a directory root.


PathIsURL
Tests a given string to determine if it conforms to a valid URL format.


PathRenameExtension
Replaces the extension of a file name with a new extension.


PathSearchAndQualify
Determines if a given path is correctly formatted and fully qualified.


UrlEscape
Converts characters in a URL that might be altered during transport across the Internet ("unsafe" characters) into their corresponding escape sequences.


UrlGetPart
Accepts a URL string and returns a specified part of that URL.


UrlHash
Hashes a URL string.


UrlUnescape
Converts escape sequences back into ordinary characters.


Group: Shell Lightweight Utility APIs -- string functions

ChrCmpI
Performs a comparison between two characters. The comparison is not case sensitive.


StrCpy
Copies one string to another.


StrDup
Duplicates a string.


wnsprintf
Takes a variable-length argument list and returns the values of the arguments as a printf-style formatted string.


Group: Simple MAPI

MAPIAddress
The MAPIAddress function creates or modifies a set of address list entries.


MAPIFindNext
The MAPIFindNext function retrieves the next (or first) message identifier of a specified type of incoming message.


MAPIFreeBuffer
The MAPIFreeBuffer function frees memory allocated by the messaging system.


MAPILogoff
The MAPILogoff function ends a session with the messaging system.


MAPILogon
The MAPILogon function begins a Simple MAPI session, loading the default message store and address book providers.


MAPIReadMail
The MAPIReadMail function retrieves a message for reading.


MAPIResolveName
The MAPIResolveName function transforms a message recipient"s name as entered by a user to an unambiguous address list entry.


MAPISendDocuments
The MAPISendDocuments function sends a standard message with one or more attached files and a cover note.


MAPISendMail
The MAPISendMail function sends a message.


Group: String

CharLower
Converts a character string or a single character to lowercase. If the operand is a character string, the function converts the characters in place.


CharToOem
Translates a string into the OEM-defined character set.


CharUpper
Converts a character string or a single character to uppercase. If the operand is a character string, the function converts the characters in place.


OemToChar
Translates a string from the OEM-defined character set into either an ANSI or a wide-character string.


StrCmpC
Compares strings using C run-time (ASCII) collation rules. The comparison is case-sensitive.


StrFormatByteSize
Converts a numeric value into a string that represents the number expressed as a size value in bytes, kilobytes, megabytes, or gigabytes, depending on the size.


StrFromTimeInterval
Converts a time interval, specified in milliseconds, to a string.


StrToInt
Converts a decimal string to an integer. The StrToLong macro differs from this function in name only.


StrToIntEx
Converts a decimal or hexadecimal string to an integer.


StrTrim
Removes (trims) specified leading and trailing characters from a string.


Group: Synchronization

CreateEvent
The CreateEvent function creates or opens a named or unnamed event object.


CreateMutex
Creates or opens a named or unnamed mutex object.


CreateSemaphore
The CreateSemaphore function creates a named or unnamed semaphore object


CreateWaitableTimer
Creates or opens a waitable timer object.


OpenEvent
The OpenEvent function opens an existing named event object.


OpenSemaphore
The OpenSemaphore function returns a handle of an existing named semaphore object


OpenWaitableTimer
Opens an existing named waitable timer object.


ReleaseMutex
Releases ownership of the specified mutex object.


ReleaseSemaphore
The ReleaseSemaphore function increases the count of the specified semaphore object by a specified amount


ResetEvent
The ResetEvent function sets the specified event object to the nonsignaled state.


SetEvent
The SetEvent function sets the specified event object to the signaled state.


SetWaitableTimer
Activates the specified waitable timer. When the due time arrives, the timer is signaled and the thread that set the timer calls the optional completion routine.


WaitForSingleObject
The WaitForSingleObject function returns when the specified object is in the signaled state or when the time-out interval elapses


Group: System Information

ExpandEnvironmentStrings
Expands environment-variable strings and replaces them with their defined values.


GetComputerName
Retrieves the computer name of the current system. This name is established at system startup, when it is initialized from the registry


GetComputerNameEx
The GetComputerNameEx function retrieves a NetBIOS or DNS name associated with the local computer. The names are established at system startup, when the system reads them from the registry.


GetComputerObjectName
The GetComputerObjectName function retrieves the local computer"s name in a specified format.


GetCurrentHwProfile
Retrieves information about the current hardware profile for the local computer.


GetKeyboardType
Retrieves information about the current keyboard.


GetNativeSystemInfo
Retrieves information about the current system to an application running under WOW64.


GetProductInfo
Retrieves the product type for the operating system on the local computer, and maps the type to the product types supported by the specified operating system.


GetSysColor
Retrieves the current color of the specified display element. Display elements are the parts of a window and the Windows display that appear on the system display screen


GetSystemDirectory
The GetSystemDirectory function retrieves the path of the system directory. The system directory contains such files as dynamic-link libraries, drivers, and font files.


GetSystemInfo
Returns information about the current system.


GetSystemMetrics
Retrieves various system metrics (widths and heights of display elements) and system configuration settings.


GetSystemRegistryQuota
Retrieves the current size of the registry and the maximum size that the registry is allowed to attain on the system.


GetSystemWow64Directory
Retrieves the path of the system directory used by WOW64. This directory is not present on 32-bit Windows.


GetUserName
Retrieves the user name of the current thread. This is the name of the user currently logged onto the system.


GetUserNameEx
Retrieves the name of the user or other security principal associated with the calling thread. You can specify the format of the returned name.


GetVersion
The GetVersion function returns the current version number of Windows and information about the operating system platform


GetVersionEx
The GetVersionEx function obtains extended information about the version of the operating system that is currently running


GetWindowsDirectory
The GetWindowsDirectory function retrieves the path of the Windows directory. The Windows directory contains such files as applications, initialization files, and help files.


IsNetworkAlive
The IsNetworkAlive function determines whether the local system is connected to a network and the type of network connection. For example, whether the local system has connectivity to a LAN, WAN, or both networks.


SetComputerName
The SetComputerName function stores a new NetBIOS name for the local computer. The name is stored in the registry and takes effect the next time the user restarts the computer.


SetSysColors
Sets the colors for one or more display elements. Display elements are the various parts of a window and the Windows display that appear on the system display screen


SystemParametersInfo
The SystemParametersInfo function retrieves or sets the value of one of the system-wide parameters. This function can also update the user profile while setting a parameter.


Group: System Shutdown

ExitWindows
Logs the current user off


ExitWindowsEx
Either logs off, shuts down, or shuts down and restarts the system


InitiateShutdown
Initiates a shutdown and restart of the specified computer, and restarts any applications that have been registered for restart.


InitiateSystemShutdown
Initiates a shutdown and optional restart of the specified computer.


LockWorkStation
The LockWorkStation function locks the workstation"s display, protecting it from unauthorized use.


Group: Terminal Services

WTSCloseServer
Closes an open handle to a terminal server.


WTSEnumerateProcesses
Retrieves information about the active processes on a specified terminal server.


WTSEnumerateServers
Returns a list of all terminal servers within the specified Windows NT domain.


WTSEnumerateSessions
Retrieves a list of sessions on a specified terminal server.


WTSFreeMemory
Frees memory allocated by a Terminal Services function.


WTSOpenServer
Opens a handle to the specified terminal server.


WTSQuerySessionInformation
Retrieves session information for the specified session on the specified terminal server. It can be used to query session information on local and remote terminal servers.


WTSRegisterSessionNotification
Registers the specified window to receive session change notifications.


WTSSendMessage
Displays a message box on the client desktop of a specified Terminal Services session.


WTSUnRegisterSessionNotification
Unregisters the specified window so that it receives no further session change notifications.


Group: Time

CompareFileTime
The CompareFileTime function compares two file times.


FileTimeToLocalFileTime
The FileTimeToLocalFileTime function converts a file time to a local file time.


FileTimeToSystemTime
The FileTimeToSystemTime function converts a file time to system time format.


GetFileTime
Retrieves the date and time that a file was created, last accessed, and last modified.


GetLocalTime
Retrieves the current local date and time.


GetSystemTime
Retrieves the current system date and time. The system time is expressed in Coordinated Universal Time (UTC).


GetSystemTimeAdjustment
Determines whether the system is applying periodic time adjustments to its time-of-day clock at each clock interrupt, along with the value and period of any such adjustments.


GetSystemTimeAsFileTime
The GetSystemTimeAsFileTime function retrieves the current system date and time. The information is in Coordinated Universal Time (UTC) format.


GetTickCount
Retrieves the number of milliseconds that have elapsed since the system was started.


GetTimeZoneInformation
Retrieves the current time-zone parameters. These parameters control the translations between Coordinated Universal Time (UTC) and local time.


LocalFileTimeToFileTime
Converts a local file time to a file time based on the Coordinated Universal Time (UTC).


QueryPerformanceCounter
The QueryPerformanceCounter function retrieves the current value of the high-resolution performance counter.


QueryPerformanceFrequency
The QueryPerformanceFrequency function retrieves the frequency of the high-resolution performance counter, if one exists. The frequency cannot change while the system is running.


SetFileTime
Sets the date and time that a file was created, last accessed, or last modified.


SetTimeZoneInformation
The SetTimeZoneInformation function sets the current time-zone parameters. These parameters control translations from Coordinated Universal Time (UTC) to local time.


SystemTimeToFileTime
The SystemTimeToFileTime function converts a system time to a file time.


Group: Unicode and Character Set

MultiByteToWideChar
The MultiByteToWideChar function maps a character string to a wide-character (Unicode) string.


WideCharToMultiByte
The WideCharToMultiByte function maps a wide-character string (Unicode) to a new character string.


Group: URL Monikers

CreateURLMonikerEx
Creates a URL moniker from a full URL, or from a base context URL moniker and a partial URL.


FindMediaType
Retrieves the 32-bit value assigned to the specified media type.


IsValidURL
Determines if a specified string is a valid URL.


ObtainUserAgentString
Retrieves the user agent string in use.


URLDownloadToCacheFile
Downloads data into the Internet cache and returns the file name of the cache location for retrieving the bits.


URLDownloadToFile
Downloads bits from the Internet and saves them to a file.


UrlMkGetSessionOption
Retrieves options for the current Internet session.


Group: Version Information

GetFileVersionInfo
Retrieves version information for the specified file.


GetFileVersionInfoSize
The GetFileVersionInfoSize function determines whether the operating system can retrieve version information for a specified file.


Group: Virtual Hard Disk (Win7)

AttachVirtualDisk
Attaches a virtual hard disk (VHD) by locating an appropriate VHD provider to accomplish the attachment.


CreateVirtualDisk
Creates a virtual hard disk (VHD) image file, either using default parameters or using an existing virtual disk or physical disk.


DetachVirtualDisk
Detaches a virtual hard disk (VHD) by locating an appropriate VHD provider to accomplish the operation.


OpenVirtualDisk
Opens a virtual hard disk (VHD) for use.


Group: Window

BringWindowToTop
Brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated.


CloseWindow
The CloseWindow function minimizes (but does not destroy) the specified window.


CreateWindow
The CreateWindow function creates an overlapped, pop-up, or child window.

To use extended window styles in addition to the styles supported by CreateWindow, use the CreateWindowEx function.


CreateWindowEx
Creates an overlapped, pop-up, or child window with an extended window style; otherwise, this function is identical to the CreateWindow function


DestroyWindow
The DestroyWindow function destroys the specified window. The function sends WM_DESTROY and WM_NCDESTROY messages to the window to deactivate it and remove the keyboard focus from it.


EndTask
The EndTask function is called to forcibly close a specified window.


FindWindow
Retrieves a handle to the top-level window whose class name and window name match the specified strings.


FindWindowEx
Retrieves a handle to a window whose class name and window name match the specified strings. The function searches child windows, beginning with the one following the specified child window.


GetAncestor
The GetAncestor function retrieves the handle to the ancestor of the specified window.


GetClientRect
Retrieves the coordinates of a window"s client area.


GetDesktopWindow
The GetDesktopWindow function returns the handle of the Windows desktop window. The desktop window covers the entire screen. The desktop window is the area on top of which all icons and other windows are painted


GetForegroundWindow
The GetForegroundWindow function returns a handle to the foreground window (the window with which the user is currently working). The system assigns a slightly higher priority to the thread that creates the foreground window than it does to other threads.


GetGUIThreadInfo
Retrieves information about the active window or a specified graphical user interface (GUI) thread.


GetParent
The GetParent function retrieves a handle to the specified window"s parent or owner. To retrieve a handle to a specified ancestor, use the GetAncestor function.


GetShellWindow
The GetShellWindow function returns a handle to the Shell"s desktop window.


GetWindow
The GetWindow function retrieves the handle of a window that has the specified relationship to the specified window.


GetWindowInfo
The GetWindowInfo function retrieves information about the specified window.


GetWindowPlacement
The GetWindowPlacement function retrieves the show state and the restored, minimized, and maximized positions of the specified window.


GetWindowRect
Retrieves the dimensions of the bounding rectangle of the specified window.


GetWindowText
The GetWindowText function copies the text of the specified window"s title bar (if it has one) into a buffer


GetWindowTextLength
The GetWindowTextLength function retrieves the length, in characters, of the specified window"s title bar text


GetWindowThreadProcessId
Retrieves the identifier of the thread that created the specified window and, optionally, the identifier of the process that created the window.


InternalGetWindowText
This function is similar to the GetWindowText function. However, it obtains the window text directly from the window structure associated with the specified window"s handle and then always provides the text as a unicode string.


IsChild
The IsChild function tests whether a window is a child window or descendant window of a specified parent window


IsIconic
The IsIconic function determines whether the specified window is minimized (iconic).


IsWindow
The IsWindow function determines whether the specified window handle identifies an existing window


IsWindowVisible
The IsWindowVisible function retrieves the visibility state of the specified window


IsZoomed
The IsZoomed function determines whether a window is maximized.


MoveWindow
The MoveWindow function changes the position and dimensions of the specified window.


RealGetWindowClass
Retrieves a string that specifies the window type


SetForegroundWindow
The SetForegroundWindow function puts the thread that created the specified window into the foreground and activates the window. Keyboard input is directed to the window, and various visual cues are changed for the user


SetLayeredWindowAttributes
The SetLayeredWindowAttributes function sets the opacity and transparency color key of a layered window.


SetParent
The SetParent function changes the parent window of the specified child window.


SetWindowPos
The SetWindowPos function changes the size, position, and Z order of a child, pop-up, or top-level window.


SetWindowText
Changes the text of the specified window"s title bar (if it has one). If the specified window is a control, the text of the control is changed.


ShowWindow
The ShowWindow function sets the show state for the specified window.


SwitchToThisWindow
The function is called to switch focus to a specified window and bring it to the foreground.


Group: Window Class

GetClassInfo
The GetClassInfo function retrieves information about a window class.


GetClassInfoEx
The GetClassInfoEx function retrieves information about a window class, including a handle to the small icon associated with the window class.


GetClassLong
Retrieves the specified 32-bit (long) value from the WNDCLASSEX structure associated with the specified window.


GetClassName
The GetClassName function retrieves the name of the class to which the specified window belongs.


GetWindowLong
Retrieves information about the specified window. The function also retrieves the 32-bit (long) value at the specified offset into the extra window memory.


RegisterClassEx
Registers a window class for subsequent use in calls to the CreateWindow or CreateWindowEx function.


SetWindowLong
Changes an attribute of the specified window. The function also sets the 32-bit (long) value at the specified offset into the extra window memory.


UnregisterClass
Unregisters a window class, freeing the memory required for the class.


Group: Window Procedure

CallWindowProc
The CallWindowProc function passes message information to the specified window procedure.


DefWindowProc
The DefWindowProc function calls the default window procedure to provide default processing for any window messages that an application does not process. This function ensures that every message is processed. DefWindowProc is called with the same parameters received by the window procedure.


WindowProc
The WindowProc function is an application-defined function that processes messages sent to a window. The WNDPROC type defines a pointer to this callback function. WindowProc is a placeholder for the application-defined function name.


Group: Window Property

GetProp
Retrieves a data handle from the property list of the specified window. The character string identifies the handle to be retrieved. The string and handle must have been added to the property list by a previous call to the SetProp function.


RemoveProp
The RemoveProp function removes an entry from the property list of the specified window. The specified character string identifies the entry to be removed.


SetProp
Adds a new entry or changes an existing entry in the property list of the specified window.


Group: Window Station and Desktop

CloseDesktop
Closes an open handle to a desktop object.


CreateDesktop
Creates a new desktop, associates it with the current window station of the calling process, and assigns it to the calling thread.


GetThreadDesktop
The GetThreadDesktop function retrieves a handle to the desktop associated with a specified thread.


OpenDesktop
The OpenDesktop function opens the specified desktop object.


OpenInputDesktop
Opens the desktop that receives user input.


SetThreadDesktop
Assigns the specified desktop to the calling thread. All subsequent operations on the desktop use the access rights granted to hDesktop.


SwitchDesktop
Makes a desktop visible and activates it. This enables the desktop to receive input from the user.


Group: Windows Controls

ImageList_Add
Adds an image or images to an image list.


ImageList_Create
Creates a new image list.


ImageList_Destroy
Destroys an image list.


ImageList_GetIconSize
Retrieves the dimensions of images in an image list. All images in an image list have the same dimensions.


ImageList_GetImageCount
Retrieves the number of images in an image list.


ImageList_GetImageInfo
Retrieves information about an image in the image list.


ImageList_Remove
Removes an image from an image list.


InitCommonControlsEx
Registers specific common control classes from the common control dynamic-link library (DLL).


Group: Windows Multimedia

AVIFileExit
The AVIFileExit function exits the AVIFile library and decrements the reference count for the library.


AVIFileGetStream
The AVIFileGetStream function returns the address of a stream interface that is associated with a specified AVI file.


AVIFileInfo
The AVIFileInfo function obtains information about an AVI file.


AVIFileInit
The AVIFileInit function initializes the AVIFile library.


AVIFileOpen
The AVIFileOpen function opens an AVI file and returns the address of a file interface used to access it.


AVIFileRelease
The AVIFileRelease function decrements the reference count of an AVI file interface handle and closes the file if the count reaches zero.


AVIFileWriteData
Writes supplementary data (other than normal header, format, and stream data) to the file.


AVIStreamGetFrame
The AVIStreamGetFrame function returns the address of a decompressed video frame.


AVIStreamGetFrameClose
The AVIStreamGetFrameClose function releases resources used to decompress video frames.


AVIStreamGetFrameOpen
The AVIStreamGetFrameOpen function prepares to decompress video frames from the specified video stream.


AVIStreamInfo
The AVIStreamInfo function obtains stream header information.


AVIStreamLength
The AVIStreamLength function returns the length of the stream.


AVIStreamReadFormat
The AVIStreamReadFormat function reads the stream format data.


AVIStreamRelease
The AVIStreamRelease function decrements the reference count of an AVI stream interface handle, and closes the stream if the count reaches zero.


AVIStreamStart
The AVIStreamStart function returns the starting sample number for the stream.


AVIStreamTimeToSample
The AVIStreamTimeToSample function converts from milliseconds to samples.


capCreateCaptureWindow
The capCreateCaptureWindow function creates a capture window.


capGetDriverDescription
The capGetDriverDescription function retrieves the version description of the capture driver.


DrawDibClose
The DrawDibClose function closes a DrawDib DC and frees the resources DrawDib allocated for it.


DrawDibDraw
The DrawDibDraw function draws a DIB to the screen.


DrawDibOpen
The DrawDibOpen function opens the DrawDib library for use and creates a DrawDib DC for drawing.


mciGetDeviceID
Retrieves the device identifier corresponding to the name of an open device.


mciGetErrorString
The mciGetErrorString function retrieves a string that describes the specified MCI error code.


mciSendCommand
Sends a command message to the specified MCI device.


mciSendString
The mciSendString function sends a command string to an MCI device. The device that the command is sent to is specified in the command string.


midiOutClose
Closes the specified MIDI output device.


midiOutGetDevCaps
Queries a specified MIDI output device to determine its capabilities.


midiOutGetNumDevs
Retrieves the number of MIDI output devices present in the system.


midiOutOpen
Opens a MIDI output device for playback.


midiOutReset
Turns off all notes on all MIDI channels for the specified MIDI output device.


midiOutShortMsg
Sends a short MIDI message to the specified MIDI output device.


mixerClose
The mixerClose function closes the specified mixer device.


mixerGetControlDetails
Retrieves details about a single control associated with an audio line.


mixerGetDevCaps
The mixerGetDevCaps function queries a specified mixer device to determine its capabilities.


mixerGetID
Retrieves the device identifier for a mixer device associated with a specified device handle.


mixerGetLineControls
The mixerGetLineControls function retrieves one or more controls associated with an audio line.


mixerGetLineInfo
The mixerGetLineInfo function retrieves information about a specific line of a mixer device.


mixerGetNumDevs
The mixerGetNumDevs function retrieves the number of mixer devices present in the system.


mixerOpen
The mixerOpen function opens a specified mixer device and ensures that the device will not be removed until the application closes the handle.


mixerSetControlDetails
Sets properties of a single control associated with an audio line.


mmioAscend
The mmioAscend function ascends out of a chunk in a RIFF file descended into with the mmioDescend function or created with the mmioCreateChunk function.


mmioClose
The mmioClose function closes a file that was opened by using the mmioOpen function.


mmioCreateChunk
The mmioCreateChunk function creates a chunk in a RIFF file that was opened by using the mmioOpen function.


mmioDescend
The mmioDescend function descends into a chunk of a RIFF file that was opened by using the mmioOpen function. It can also search for a given chunk.


mmioFlush
The mmioFlush function writes the I/O buffer of a file to disk if the buffer has been written to.


mmioOpen
The mmioOpen function opens a file for unbuffered or buffered I/O. The file can be a standard file, a memory file, or an element of a custom storage system.


mmioRead
The mmioRead function reads a specified number of bytes from a file opened by using the mmioOpen function.


mmioSeek
Changes the current file position in a file opened by using the mmioOpen function.


mmioWrite
Writes a specified number of bytes to a file opened by using the mmioOpen function.


PlaySound
Plays a sound specified by the given file name, resource, or system event.


sndPlaySound
The sndPlaySound function plays a waveform sound specified either by a filename or by an entry in the registry or the WIN.INI file.


timeGetDevCaps
Queries the timer device to determine its resolution.


waveInAddBuffer
The waveInAddBuffer function sends an input buffer to the given waveform-audio input device. When the buffer is filled, the application is notified.


waveInClose
The waveInClose function closes the given waveform-audio input device.


waveInGetDevCaps
The waveInGetDevCaps function retrieves the capabilities of a given waveform-audio input device.


waveInGetErrorText
The waveInGetErrorText function retrieves a textual description of the error identified by the given error number.


waveInGetNumDevs
The waveInGetNumDevs function returns the number of waveform-audio input devices present in the system.


waveInGetPosition
The waveInGetPosition function retrieves the current input position of the given waveform-audio input device.


waveInOpen
The waveInOpen function opens the given waveform-audio input device for recording.


waveInPrepareHeader
The waveInPrepareHeader function prepares a buffer for waveform-audio input.


waveInReset
The waveInReset function stops input on the given waveform-audio input device and resets the current position to zero. All pending buffers are marked as done and returned to the application.


waveInStart
The waveInStart function starts input on the given waveform-audio input device.


waveInStop
The waveInStop function stops waveform-audio input.


waveInUnprepareHeader
The waveInUnprepareHeader function cleans up the preparation performed by the waveInPrepareHeader function. This function must be called after the device driver fills a buffer and returns it to the application. You must call this function before freeing the buffer.


waveOutClose
The waveOutClose function closes the given waveform-audio output device.


waveOutGetDevCaps
Retrieves the capabilities of a given waveform-audio output device.


waveOutGetErrorText
Retrieves a textual description of the error identified by the given error number.


waveOutGetNumDevs
Retrieves the number of waveform-audio output devices present in the system.


waveOutGetPosition
The waveOutGetPosition function retrieves the current playback position of the given waveform-audio output device.


waveOutGetVolume
The waveOutGetVolume function retrieves the current volume level of the specified waveform-audio output device.


waveOutOpen
The waveOutOpen function opens the given waveform-audio output device for playback.


waveOutPrepareHeader
The waveOutPrepareHeader function prepares a waveform-audio data block for playback with waveOutWrite function.


waveOutReset
The waveOutReset function stops playback on the given waveform-audio output device and resets the current position to zero. All pending playback buffers are marked as done and returned to the application.


waveOutSetVolume
The waveOutSetVolume function sets the volume level of the specified waveform-audio output device.


waveOutUnprepareHeader
The waveOutUnprepareHeader function cleans up the preparation performed by the waveOutPrepareHeader function. This function must be called after the device driver is finished with a data block. You must call this function before freeing the buffer.


waveOutWrite
The waveOutWrite function sends a data block to the given waveform-audio output device.


Group: Windows Networking

NetGetJoinInformation
The NetGetJoinInformation function retrieves join status information for the specified computer.


NetJoinDomain
The NetJoinDomain function joins a computer to a workgroup or domain.


NetUnjoinDomain
The NetUnjoinDomain function unjoins a computer from a workgroup or a domain.


WNetAddConnection
The WNetAddConnection function enables the calling application to connect a local device to a network resource.


WNetAddConnection2
The WNetAddConnection2 function makes a connection to a network resource. The function can redirect a local device to the network resource.


WNetCancelConnection2
The WNetCancelConnection2 function cancels an existing network connection. You can also call the function to remove remembered network connections that are not currently connected.


WNetCloseEnum
The WNetCloseEnum function ends a network resource enumeration started by a call to the WNetOpenEnum function.


WNetConnectionDialog
The WNetConnectionDialog function starts a general browsing dialog box for connecting to network resources. The function requires a handle to the owner window for the dialog box.


WNetConnectionDialog1
Brings up a general browsing dialog for connecting to network resources.


WNetDisconnectDialog
The WNetDisconnectDialog function starts a general browsing dialog box for disconnecting from network resources. The function requires a handle to the owner window for the dialog box.


WNetEnumResource
The WNetEnumResource function continues an enumeration of network resources that was started by a call to the WNetOpenEnum function.


WNetGetConnection
The WNetGetConnection function retrieves the name of the network resource associated with a local device.


WNetGetLastError
The WNetGetLastError function retrieves the most recent extended error code set by a WNet function.


WNetGetNetworkInformation
The WNetGetNetworkInformation function returns extended information about a specific network provider whose name was returned by a previous network enumeration.


WNetGetProviderName
The WNetGetProviderName function obtains the provider name for a specific type of network.


WNetGetUniversalName
The WNetGetUniversalName function takes a drive-based path for a network resource and returns an information structure that contains a more universal form of the name.


WNetGetUser
The WNetGetUser function retrieves the current default user name, or the user name used to establish a network connection.


WNetOpenEnum
The WNetOpenEnum function starts an enumeration of network resources or existing connections. You can continue the enumeration by calling the WNetEnumResource function.


Group: Windows Sockets 2 (Winsock)

accept
The accept function permits an incoming connection attempt on a socket.


bind
The bind function associates a local address (IP address and port) with a socket.


closesocket
The closesocket function closes an existing socket.


gethostbyaddr
The gethostbyaddr function retrieves the host information corresponding to a network address.


gethostbyname
The gethostbyname function retrieves host information corresponding to a host name from a host database.


gethostname
The gethostname function retrieves the standard host name for the local computer.


getnameinfo
Provides protocol-independent name resolution from an address to an ANSI host name and from a port number to the ANSI service name.


getprotobyname
The getprotobyname function retrieves the protocol information corresponding to a protocol name.


getprotobynumber
The getprotobynumber function retrieves protocol information corresponding to a protocol number.


getservbyname
The getservbyname function retrieves service information corresponding to a service name and protocol.


getservbyport
The getservbyport function retrieves service information corresponding to a port and protocol.


getsockopt
The getsockopt function retrieves a socket option.


htonl
The htonl function converts a u_long from host to TCP/IP network byte order (which is big endian).


htons
The htons function converts a u_short from host to TCP/IP network byte order (which is big-endian).


inet_addr
The inet_addr function converts a string containing an (Ipv4) Internet Protocol dotted address into a proper address for the IN_ADDR structure.


inet_ntoa
The inet_ntoa function converts an (Ipv4) Internet network address into a string in Internet standard dotted format.


listen
The listen function places a socket in a state in which it is listening for an incoming connection.


ntohl
The ntohl function converts a u_long from TCP/IP network order to host byte order (which is little-endian on Intel processors).


ntohs
The ntohs function converts a u_short from TCP/IP network byte order to host byte order (which is little-endian on Intel processors).


recv
The recv function receives data from a connected or bound socket.


recvfrom
Receives a datagram and stores the source address.


send
The send function sends data on a connected socket.


sendto
Sends data to a specific destination.


setsockopt
The setsockopt function sets a socket option.


socket
The socket function creates a socket that is bound to a specific service provider.


WSACleanup
The WSACleanup function terminates use of the Ws2_32.dll.


WSACloseEvent
The WSACloseEvent function closes an open event object handle.


WSAConnect
Establishes a connection to another socket application, exchanges connect data, and specifies required quality of service based on the specified FLOWSPEC structure.


WSACreateEvent
The WSACreateEvent function creates a new event object.


WSAEnumProtocols
The WSAEnumProtocols function retrieves information about available transport protocols.


WSAEventSelect
The WSAEventSelect function specifies an event object to be associated with the specified set of FD_XXX network events.


WSAGetLastError
The WSAGetLastError function returns the error status for the last operation that failed.


WSARecv
Receives data from a connected socket.


WSASend
Sends data on a connected socket.


WSAStartup
The WSAStartup function initiates use of Ws2_32.dll by a process.


WSAWaitForMultipleEvents
The WSAWaitForMultipleEvents function returns either when one or all of the specified event objects are in the signaled state, or when the time-out interval expires.


ws_connect
The connect function establishes a connection to a specified socket.


ws_select
The select function determines the status of one or more sockets, waiting if necessary, to perform synchronous I/O.


Home