Windows API Functions

Top  Previous  Next

The Cockpit Platform Library currently provides the following Windows API functions:

 

AbortPath

AbortPrinter

AbortSystemShutdown

AddAtom

AddFontMemResourceEx

AddFontResource

AddPrinter

AdjustTokenGroups

AdjustTokenPrivileges

AdjustWindowRect

AdjustWindowRectEx

AllocateLocallyUniqueId

AllocConsole

AngleArc

AnimatePalette

AnimateWindow

AppendMenu

Arc

ArcTo

ArrangeIconicWindows

AtlAxAttachControl

AtlAxCreateControl

AtlAxCreateControlEx

AtlAxCreateDialog

AtlAxDialogBox

AtlAxGetControl

AtlAxGetHost

AtlAxWinInit

AttachThreadInput

Beep

BeginDeferWindowPos

BeginPaint

BeginPath

BitBlt

BringWindowToTop

BroadcastSystemMessage

CallMsgFilter

CallNextHookEx

CallWindowProc

CancelDC

CancelWaitableTimer

CascadeWindows

ChangeClipboardChain

ChangeDisplaySettings

ChangeDisplaySettingsEx

CharNext

CharToOem

CheckDlgButton

CheckMenuItem

CheckMenuRadioItem

CheckRadioButton

ChildWindowFromPoint

ChildWindowFromPointEx

ChooseColor

ChooseFont

Chord

ClientToScreen

ClipCursor

CloseClipboard

CloseEnhMetaFile

CloseFigure

CloseHandle

CloseMetaFile

ClosePrinter

CloseWindow

CLSIDFromProgID

CLSIDFromString

CoCreateGuid

CoCreateInstance

CoGetClassObject

CoGetMalloc

CoInitialize

CombineRgn

CombineTransform

CommDlgExtendedError

CompareFileTime

CopyAcceleratorTable

CopyCursor

CopyEnhMetaFile

CopyIcon

CopyMemory

CopyMetaFile

CopyRect

CoTaskMemFree

CoTreatAsClass

CoUninitialize

CountClipboardFormats

CreateAcceleratorTable

CreateBindCtx

CreateBitmap

CreateBitmapIndirect

CreateBrushIndirect

CreateCaret

CreateCompatibleBitmap

CreateCompatibleDC

CreateConsoleScreenBuffer

CreateCursor

CreateDC

CreateDialog

CreateDialogIndirect

CreateDialogIndirectParam

CreateDialogParam

CreateDIBitmap

CreateDIBPatternBrushPt

CreateDIBSection

CreateDiscardableBitmap

CreateEllipticRgn

CreateEnhMetaFile

CreateEvent

CreateFile

CreateFileMapping

CreateFileMoniker

CreateFont

CreateFontIndirect

CreateHalftonePalette

CreateHatchBrush

CreateIC

CreateIcon

CreateIconFromResource

CreateIconFromResourceEx

CreateIconIndirect

CreateMDIWindow

CreateMenu

CreateMetaFile

CreateMutex

CreatePalette

CreatePatternBrush

CreatePen

CreatePenIndirect

CreatePopupMenu

CreateProcess

CreatePropertySheetPage

CreateRectRgn

CreateSemaphore

CreateSolidBrush

CreateStatusWindow

CreateToolbarEx

CreateUpDownControl

CreateURLMoniker

CreateWaitableTimer

CreateWindow

CreateWindowEx

CurrentDirectory

DefDlgProc

DeferWindowPos

DefFrameProc

DefMDIChildProc

DefWindowProc

DeleteAtom

DeleteCriticalSection

DeleteDC

DeleteEnhMetaFile

DeleteFile

DeleteMenu

DeleteMetaFile

DeleteObject

DeletePrinter

DestroyAcceleratorTable

DestroyCaret

DestroyCursor

DestroyIcon

DestroyMenu

DestroyPropertySheetPage

DestroyWindow

DeviceCapabilities

DialogBox

DialogBoxIndirect

DialogBoxIndirectParam

DialogBoxParam

DisableThreadLibraryCalls

DispatchMessage

DlgDirList

DlgDirListComboBox

DlgDirSelectComboBoxEx

DlgDirSelectEx

DosDateTimeToFileTime

DPtoLP

DragAcceptFiles

DragDetect

DragFinish

DragQueryFile

DragQueryPoint

DrawAnimatedRects

DrawCaption

DrawEdge

DrawEscape

DrawFocusRect

DrawFrameControl

DrawIcon

DrawIconEx

DrawInsert

DrawInsert

DrawMenuBar

DrawState

DrawStatusText

DrawText

DrawTextEx

DuplicateHandle

DuplicateIcon

Ellipse

EmptyClipboard

EmptyWorkingSet

EnableMenuItem

EnableScrollBar

EnableWindow

EndDeferWindowPos

EndDialog

EndDoc

EndPage

EndPaint

EndPath

EnhMetaFileProc

EnterCriticalSection

EnumChildWindows

EnumClipboardFormats

EnumDeviceDrivers

EnumDisplayDevices

EnumDisplaySettings

EnumEnhMetaFile

EnumFontFamiliesEx

EnumMetaFile

EnumObjects

EnumPrinters

EnumProcesses

EnumProcessModules

EnumProps

EnumPropsEx

EnumThreadWindows

EnumWindows

EqualRect

ExcludeClipRect

ExcludeUpdateRegion

ExcludeUpdateRgn

ExitProcess

ExitThread

ExitWindows

ExitWindowsEx

ExpandEnvironmentStrings

ExtCreatePen

ExtFloodFill

ExtractAssociatedIcon

ExtractIcon

ExtractIconEx

ExtSelectClipRgn

ExtTextOut

FatalAppExit

FileTimeToDosDateTime

FileTimeToLocalFileTime

FileTimeToSystemTime

FillMemory

FillPath

FillRect

FindAtom

FindResource

FindText

FindWindow

FindWindowEx

FlashWindow

FlashWindowEx

FlatSB_EnableScrollBar

FlatSB_GetScrollInfo

FlatSB_GetScrollPos

FlatSB_GetScrollProp

FlatSB_GetScrollRange

FlatSB_SetScrollInfo

FlatSB_SetScrollPos

FlatSB_SetScrollProp

FlatSB_SetScrollRange

FlatSB_ShowScrollBar

FlattenPath

FlushViewOfFile

FormatMessage

FrameRect

FreeConsole

FreeDDElParam

FreeEnvironmentStrings

FreeLibrary

FreeLibraryAndExitThread

GdiComment

GdiFlush

GdiGetBatchLimit

GdiSetBatchLimit

GetACP

GetAspectRatioFilterEx

GetAtomName

GetBitmapBits

GetBitmapDimensionEx

GetBkColor

GetBkMode

GetBoundsRect

GetBrushOrgEx

GetCapture

GetCaretBlinkTime

GetCaretPos

GetCharABCWidths

GetCharWidth

GetCharWidth32

GetClassInfoEx

GetClassLong

GetClassName

GetClientRect

GetClipboardData

GetClipboardFormatName

GetClipboardOwner

GetClipboardSequenceNumber

GetClipboardViewer

GetClipBox

GetClipCursor

GetClipRgn

GetColorAdjustment

GetCommandLine

GetComputerName

GetConsoleCP

GetConsoleOutputCP

GetConsoleTitle

GetCurrentDirectory

GetCurrentObject

GetCurrentPositionEx

GetCurrentProcess

GetCurrentProcessId

GetCurrentThread

GetCurrentThreadId

GetCurrentTime

GetCursor

GetCursorPos

GetDC

GetDCBrushColor

GetDCEx

GetDCOrgEx

GetDCPenColor

GetDesktopWindow

GetDeviceCaps

GetDeviceDriverBaseName

GetDeviceDriverFileName

GetDialogBaseUnits

GetDIBColorTable

GetDIBits

GetDlgCtrlID

GetDlgItem

GetDlgItemInt

GetDlgItemText

GetDoubleClickTime

GetEffectiveClientRect

GetEnhMetaFile

GetEnhMetaFileBits

GetEnhMetaFileDescription

GetEnhMetaFileHeader

GetEnhMetaFilePaletteEntries

GetEnvironmentStrings

GetEnvironmentVariable

GetExitCodeProcess

GetExitCodeThread

GetFileSize

GetFileTime

GetFileTitle

GetFileType

GetFocus

GetForegroundWindow

GetGraphicsMode

GetGuiResources

GetHandleInformation

GetIconInfo

GetInputState

GetKeyboardType

GetKeyNameText

GetKeyState

GetLastActivePopup

GetLastError

GetLocalTime

GetMapMode

GetMappedFileName

GetMenu

GetMenuDefaultItem

GetMenuItemCount

GetMenuItemID

GetMenuItemInfo

GetMenuItemRect

GetMenuState

GetMenuString

GetMessage

GetMessageExtraInfo

GetMessagePos

GetMessageTime

GetMetaFile

GetMetaFileBitsEx

GetMetaRgn

GetMiterLimit

GetModule

GetModuleBaseName

GetModuleFileName

GetModuleFileNameEx

GetModuleHandle

GetModuleInformation

GetMouseMovePoints

GetNearestColor

GetNearestPaletteIndex

GetNextDlgGroupItem

GetNextDlgTabItem

GetNextWindow

GetObject

GetObjectType

GetOEMCP

GetOpenClipboardWindow

GetOpenFileName

GetOutlineTextMetrics

GetOverlappedResult

GetPaletteEntries

GetParent

GetPath

GetPixel

GetPolyFillMode

GetPrinter

GetPriorityClass

GetPriorityClipboardFormat

GetProcAddress

GetProcessAffinityMask

GetProcessMemoryInfo

GetProcessPriorityBoost

GetProcessShutdownParameters

GetProcessTimes

GetProcessVersion

GetProcessWorkingSetSize

GetProp

GetQueueStatus

GetROP2

GetSaveFileName

GetScrollInfo

GetScrollPos

GetScrollRange

GetShortPathName

GetStartupInfo

GetStdDevice

GetStdHandle

GetStockObject

GetStretchBltMode

GetSubMenu

GetSysColor

GetSysColorBrush

GetSystemDirectory

GetSystemMenu

GetSystemMetrics

GetSystemPaletteEntries

GetSystemPaletteUse

GetSystemTime

GetSystemTimeAdjustment

GetSystemTimeAsFileTime

GetTextAlign

GetTextCharacterExtra

GetTextColor

GetTextExtentExPoint

GetTextExtentPoint

GetTextExtentPoint

GetTextExtentPoint32

GetTextFace

GetTextMetrics

GetThreadPriority

GetThreadPriorityBoost

GetThreadTimes

GetTickCount

GetTimeZoneInformation

GetTopWindow

GetUpdateRect

GetUpdateRgn

GetUserName

GetVersion

GetVersionEx

GetViewportExtEx

GetViewportOrgEx

GetWindow

GetWindowDC

GetWindowExtEx

GetWindowLong

GetWindowOrgEx

GetWindowPlacement

GetWindowRect

GetWindowRgn

GetWindowsDirectory

GetWindowText

GetWindowTextLength

GetWindowThreadProcessId

GetWinMetaFileBits

GetWorldTransform

GetWsChanges

GlobalAddAtom

GlobalAlloc

GlobalDeleteAtom

GlobalDiscard

GlobalFindAtom

GlobalFree

GlobalGetAtomName

GlobalLock

GlobalReAlloc

GlobalSize

GlobalUnlock

 

 

 

GrayString

HideCaret

HiliteMenuItem

HTUI_ColorAdjustment

HTUI_DeviceColorAdjustment

IIDFromString

ImageDirectoryEntryToData

ImageList_Add

ImageList_AddIcon

ImageList_AddMasked

ImageList_BeginDrag

ImageList_Copy

ImageList_Create

ImageList_Destroy

ImageList_DragEnter

ImageList_DragLeave

ImageList_DragMove

ImageList_DragShowNolock

ImageList_Draw

ImageList_DrawEx

ImageList_DrawIndirect

ImageList_Duplicate

ImageList_EndDrag

ImageList_GetBkColor

ImageList_GetDragImage

ImageList_GetIcon

ImageList_GetIconSize

ImageList_GetImageCount

ImageList_GetImageInfo

ImageList_LoadImage

ImageList_Merge

ImageList_Read

ImageList_Remove

ImageList_Replace

ImageList_ReplaceIcon

ImageList_SetBkColor

ImageList_SetDragCursorImage

ImageList_SetIconSize

ImageList_SetImageCount

ImageList_SetOverlayImage

ImageList_Write

ImpersonateDdeClientWindow

InflateRect

InitAtomTable

InitCommonControls

InitCommonControlsEx

InitializeCriticalSection

InitializeCriticalSectionAndSpinCount

InitializeFlatSB

InitializeProcessForWsWatch

InitiateSystemShutdown

InSendMessage

InsertMenuItem

InterlockedCompareExchange

InterlockedDecrement

InterlockedExchange

InterlockedExchangeAdd

InterlockedIncrement

IntersectClipRect

IntersectRect

InvalidateRect

InvalidateRgn

InvertRect

IsBadCodePtr

IsBadReadPtr

IsBadStringPtr

IsBadWritePtr

IsChild

IsClipboardFormatAvailable

IsDialogMessage

IsDlgButtonChecked

IsEqualCLSID

IsEqualGUID

IsEqualIID

IsIconic

IsMenu

IsProcessorFeaturePresent

IsRectEmpty

IsWindow

IsWindowEnabled

IsWindowUnicode

IsWindowVisible

IsZoomed

KillTimer

LBItemFromPt

LBItemFromPt

LeaveCriticalSection

LineDDA

LineTo

LoadAccelerators

LoadBitmap

LoadCursor

LoadCursorFromFile

LoadIcon

LoadLibrary

LoadLibraryEx

LoadMenu

LoadModule

LoadRegTypeLib

LoadString

LoadTypeLib

LocalFileTimeToFileTime

LockResource

LockWindowUpdate

LockWorkStation

LookupIconIdFromDirectory

LookupIconIdFromDirectoryEx

LookupPrivilegeDisplayName

LookupPrivilegeName

LookupPrivilegeValue

LPtoDP

lstrcpyn

lstrlen

lstrlenW

MakeDragList

MakeDragList

MapDialogRect

MapViewOfFile

MapViewOfFileEx

MapWindowPoints

MaskBlt

mciGetCreatorTask

mciGetDeviceID

mciGetErrorString

mciGetYieldProc

mciSendCommand

mciSendString

mciSetYieldProc

MenuHelp

MenuItemFromPoint

MessageBeep

MessageBox

MessageBoxEx

MessageBoxIndirect

MkParseDisplayName

MkParseDisplayNameEx

ModifyMenu

ModifyWorldTransform

mouse_event

MoveMemory

MoveToEx

MoveWindow

MsgWaitForMultipleObjects

MsgWaitForMultipleObjectsEx

MultiByteToWideChar

OemToChar

OffsetClipRgn

OffsetRect

OffsetViewportOrgEx

OffsetWindowOrgEx

OleInitialize

OpenClipboard

OpenEvent

OpenFileMapping

OpenIcon

OpenMutex

OpenPrinter

OpenProcess

OpenProcessToken

OpenSemaphore

OpenThreadToken

OpenWaitableTimer

PackDDElParam

PageSetupDlg

PaintDesktop

PatBlt

PathToRegion

PeekMessage

Pie

PlayEnhMetaFile

PlayEnhMetaFileRecord

PlayMetaFile

PlayMetaFileRecord

PlaySound

PlgBlt

PolyBezier

PolyBezierTo

PolyDraw

Polygon

Polyline

PolylineTo

PolyPolygon

PolyPolyline

PolyTextOut

PostMessage

PostQuitMessage

PostThreadMessage

PrintDlg

PrinterProperties

ProgIDFromCLSID

PropertySheet

PtInRect

PtVisible

PulseEvent

QueryPerformanceCounter

QueryPerformanceFrequency

QueryWorkingSet

QueueUserAPC

RasDial

RasGetConnectStatus

RasGetErrorString

RasHangUp

ReadFile

ReadProcessMemory

RealizePalette

Rectangle

RectVisible

RedrawWindow

RegCloseKey

RegConnectRegistry

RegCreateKey

RegCreateKeyEx

RegDeleteKey

RegDeleteValue

RegEnumKey

RegEnumKeyEx

RegEnumValue

RegFlushKey

RegGetKeySecurity

RegisterClassEx

RegisterClipboardFormat

RegisterWindowMessage

RegLoadKey

RegNotifyChangeKeyValue

RegOpenKey

RegOpenKeyEx

RegQueryInfoKey

RegQueryMultipleValues

RegQueryValue

RegQueryValueEx

RegReplaceKey

RegRestoreKey

RegSaveKey

RegSetKeySecurity

RegSetValue

RegSetValueEx

RegUnLoadKey

ReleaseCapture

ReleaseDC

ReleaseMutex

ReleaseSemaphore

RemoveFontMemResourceEx

RemoveFontResource

RemoveMenu

RemoveProp

ReplaceText

ReplyMessage

ResetDC

ResetEvent

ResizePalette

RestoreDC

ResumeThread

RetCLSIDFromProgID

RetCLSIDFromString

RetCoCreateGuid

RetIIDFromString

ReuseDDElParam

RoundRect

RtlFillMemory

RtlMoveMemory

RtlZeroMemory

SafeArrayAccessData

SafeArrayAllocData

SafeArrayAllocDescriptor

SafeArrayCopy

SafeArrayCopyData

SafeArrayCreate

SafeArrayCreateVector

SafeArrayDestroy

SafeArrayDestroyData

SafeArrayDestroyDescriptor

SafeArrayGetDim

SafeArrayGetElement

SafeArrayGetElemsize

SafeArrayGetLBound

SafeArrayGetUBound

SafeArrayLock

SafeArrayPtrOfIndex

SafeArrayPutElement

SafeArrayRedim

SafeArrayUnaccessData

SafeArrayUnlock

SaveDC

ScaleViewportExtEx

ScaleWindowExtEx

ScreenToClient

ScrollDC

ScrollWindow

ScrollWindowEx

SelectClipPath

SelectClipRgn

SelectObject

SelectPalette

SendDlgItemMessage

SendMessage

SendMessageCallback

SendMessageRef

SendMessageTimeout

SendNotifyMessage

SetAbortProc

SetActiveWindow

SetArcDirection

SetBitmapBits

SetBitmapDimensionEx

SetBkColor

SetBkMode

SetBoundsRect

SetBrushOrgEx

SetCapture

SetCaretBlinkTime

SetCaretPos

SetClassLong

SetClipboardData

SetClipboardViewer

SetColorAdjustment

SetComputerName

SetConsoleActiveScreenBuffer

SetConsoleCP

SetConsoleOutputCP

SetConsoleTitle

SetCriticalSectionSpinCount

SetCurrentDirectory

SetCursorPos

SetDCBrushColor

SetDCPenColor

SetDIBColorTable

SetDIBits

SetDIBitsToDevice

SetDlgItemInt

SetDlgItemText

SetDoubleClickTime

SetEnhMetaFileBits

SetEnvironmentVariable

SetErrorMode

SetEvent

SetFileApisToANSI

SetFileApisToOEM

SetFileTime

SetFocus

SetForegroundWindow

SetGraphicsMode

SetHandleInformation

SetLastError

SetLastErrorEx

SetLayeredWindowAttributes

SetLocalTime

SetMapMode

SetMapperFlags

SetMenu

SetMenuDefaultItem

SetMenuItemBitmaps

SetMenuItemInfo

SetMessageExtraInfo

SetMetaFileBitsEx

SetMetaRgn

SetMiterLimit

SetPaletteEntries

SetParent

SetPixel

SetPixelV

SetPolyFillMode

SetPriorityClass

SetProcessAffinityMask

SetProcessPriorityBoost

SetProcessShutdownParameters

SetProcessWorkingSetSize

SetProp

SetRect

SetRectEmpty

SetROP2

SetScrollInfo

SetScrollPos

SetScrollRange

SetStretchBltMode

SetSysColors

SetSystemCursor

SetSystemPaletteUse

SetSystemTime

SetSystemTimeAdjustment

SetTextAlign

SetTextCharacterExtra

SetTextColor

SetTextJustification

SetThreadAffinityMask

SetThreadIdealProcessor

SetThreadPriority

SetThreadPriorityBoost

SetTimer

SetTimeZoneInformation

SetViewportExtEx

SetViewportOrgEx

SetWaitableTimer

SetWindowExtEx

SetWindowLong

SetWindowOrgEx

SetWindowPlacement

SetWindowPos

SetWindowRgn

SetWindowsHookEx

SetWindowText

SetWinMetaFileBits

SetWorldTransform

SHAppBarMessage

Shell_NotifyIcon

ShellExecute

short

ShowCaret

ShowCursor

ShowOwnedPopups

ShowScrollBar

ShowWindow

ShowWindowAsync

SignalObjectAndWait

SizeOfResource

Sleep

SleepEx

StartDoc

StartPage

StgCreateDocfile

StgIsStorageFile

StgOpenStorage

StretchBlt

StretchDIBits

StringFromCLSID

StringFromGUID2

StringFromIID

StrokeAndFillPath

StrokePath

StructArray

StructArrayFrom

SubtractRect

SuspendThread

SwapMouseButton

SwitchToThread

SysAllocString

SysAllocStringByteLen

SysAllocStringLen

SysFreeString

SysReAllocString

SysReAllocStringLen

SysStringByteLen

SysStringLen

SystemParametersInfo

SystemTimeToFileTime

SystemTimeToTzSpecificLocalTime

TabbedTextOut

TerminateProcess

TerminateThread

TextOut

TileWindows

TrackMouseEvent

TrackPopupMenu

TrackPopupMenuEx

TranslateAccelerator

TranslateMDISysAccel

TranslateMessage

TryEnterCriticalSection

UnhookWindowsHook

UnhookWindowsHookEx

UninitializeFlatSB

UnionRect

UnmapViewOfFile

UnpackDDElParam

UnrealizeObject

UnregisterClass

UpdateColors

UpdateWindow

ValidateRect

ValidateRgn

VarCyFromR8

VariantChangeType

VariantChangeTypeEx

VarR8FromCy

WaitForInputIdle

WaitForMultipleObjects

WaitForMultipleObjectsEx

WaitForSingleObject

WaitForSingleObjectEx

WaitMessage

waveOutGetNumDevs

WaveOutGetNumDevs

WideCharToMultiByte

WidenPath

WindowFromDC

WindowFromPoint

WindowsErrorText

WinExec

WinLoadResource

WinSetCursor

WinSleep

WriteConsole

WriteConsoleOutputCharacter

WriteFile

WriteProcessMemory

wsprintf

ZeroMemory