# Windows 95 API Guide

## Last Update: Friday, November 6, 1998

## Number of Calls Listed: 74

Welcome to the Windows 95 API Guide! This is a list of many of the various API functions built into Windows 95. Of course, much of this applies to Windows NT and Windows 98. This will always be a work-in-progress, so don't expect a full and complete guide to the API. I do do my best, however.

If you are new to using the Windows API to add lots of functionality to your 32-bit Windows-based programs, or just want a nice little introduction, please read the Introduction Page. If you would like to save this entire guide to your computer for later reference, you can download a zipped copy of it. If you do, you should check back here every so often for updated and additions. Otherwise, please use one of the listings below to start your Windows API learning experience!

One more introductory note. I am only human, so there may be some mistakes in this guide. If it doesn't look right (or you know I'm just plain wrong), use it with caution. Better yet, e-mail me about it. I'd also appreciate it if you had any API information you would like for me to include in this guide.

- Alphabetical Listing of APIs
- Categorical Listing of APIs

# Alphabetical Listing of APIs

- A
- B
  - BitBlt Function
- C
  - CharLower Function
  - CharUpper Function
  - ChooseColor Function
  - ClipCursor Function
  - CopyRect Function
- D
- E
  - Ellipse Function
  - EqualRect Function
  - ExitWindowsEx Function
- F
  - FlashWindow Function
- G
  - GetActiveWindow Function
  - GetClipCursor Function
  - GetComputerName Function
  - GetCursorPos Function
  - GetDC Function
  - GetDesktopWindow Function
  - GetDiskFreeSpace Function
  - GetDriveType Function
  - GetFileAttributes Function
  - GetFullPathName Function
  - GetLocalTime Sub
  - GetOpenFileName Function
  - GetParent Function
  - GetPrivateProfileInt Function
  - GetPrivateProfileString Function
  - GetProfileInt Function
  - GetProfileString Function
  - GetSaveFileName Function
  - GetShortPathName Function
  - GetSystemDirectory Function
  - GetSystemTime Sub
  - GetTempFileName Function
  - GetTempPath Function
  - GetTimeZoneInformation Function
  - GetTopWindow Function
  - GetVersionEx Function
  - GetWindow Function
  - GetWindowRect Function
  - GetWindowsDirectory Function
  - GetWindowText Function
  - GetWindowTextLength Function
- H
- I
  - InflateRect Function
  - IntersectRect Function
  - IsRectEmpty Function
- J
  - joyGetDevCaps Function
  - joyGetNumDevs Function
  - joyGetPos Function
- K
- L
  - LineTo Function
- M
  - MoveToEx Function
- N
- O
  - OffsetRect Function
- P
  - PtInRect Function
- Q
- R
  - Rectangle Function
  - RegCloseKey Function
  - RegCreateKeyEx Function
  - RegOpenKeyEx Function
  - RegQueryValueEx Function
  - RegSetValueEx Function
  - ReleaseDC Function
  - RoundRect Function
- S
  - SetCursorPos Function
  - SetFileAttributes Function
  - SetParent Function
  - SetRect Function
  - SetRectEmpty Function
  - SetWindowPos Function
  - SetWindowText Function
  - ShowCursor Function
  - Sleep Sub
  - sndPlaySound Function
  - StretchBlt Function
  - SubtractRect Function
- T
- U
  - UnionRect Function
- V
- W
  - WritePrivateProfileString Function
  - WriteProfileString Function
- X
- Y
- Z
- Appendix A: Data Types
  - CHOOSECOLORS Type
  - JOYCAPS Type
  - JOYINFO Type
  - OPENFILENAME Type
  - OSVERSIONINFO Type
  - POINTAPI Type
  - RECT Type
  - SECURITY_ATTRIBUTES Type
  - SYSTEMTIME Type
  - TIME_ZONE_INFORMATION Type
- Appendix B: Constants
  - Blt Flags
  - Color Dialog Flags
  - Drive Type Flags
  - Exit Windows Flags
  - File Attribute Flags
  - File Dialog Flags
  - GetWindow Flags
  - Insert After Flags
  - Platform ID Flags
  - Registry Access Flags
  - Registry Base Key Flags
  - Registry Data Type Flags
  - SetWindowPos Flags
  - Sound Flags

Back to the top.

# Categorical Listing of APIs

- Audio
  - sndPlaySound Function
- Common Dialog (more info)
  - ChooseColor Function
  - GetOpenFileName Function
  - GetSaveFileName Function
- Devices (more info)
  - GetDC Function
  - ReleaseDC Function
- Files (more info)
  - GetDiskFreeSpace Function
  - GetDriveType Function
  - GetFileAttributes Function
  - GetFullPathName Function
  - GetShortPathName Function
  - GetTempFileName Function
  - SetFileAttributes Function
- Graphics
  - BitBlt Function
  - Ellipse Function
  - LineTo Function
  - MoveToEx Function
  - Rectangle Function
  - RoundRect Function
  - StretchBlt Function
- INI Files
  - GetPrivateProfileInt Function
  - GetPrivateProfileString Function
  - GetProfileInt Function
  - GetProfileString Function
  - WritePrivateProfileString Function
  - WriteProfileString Function
- Joysticks
  - joyGetDevCaps Function
  - joyGetNumDevs Function
  - joyGetPos Function
- Mouse
  - ClipCursor Function
  - GetClipCursor Function
  - GetCursorPos Function
  - SetCursorPos Function
  - ShowCursor Function
- Rectangles (more info)
  - CopyRect Function
  - EqualRect Function
  - InflateRect Function
  - IntersectRect Function
  - IsRectEmpty Function
  - OffsetRect Function
  - PtInRect Function
  - SetRect Function
  - SetRectEmpty Function
  - SubtractRect Function
  - UnionRect Function
- Registry
  - RegCloseKey Function
  - RegCreateKeyEx Function
  - RegOpenKeyEx Function
  - RegQueryValueEx Function
  - RegSetValueEx Function
- Strings
  - CharLower Function
  - CharUpper Function
- System Information
  - GetComputerName Function
  - GetDesktopWindow Function
  - GetLocalTime Sub
  - GetSystemDirectory Function
  - GetSystemTime Sub
  - GetTempPath Function
  - GetTimeZoneInformation Function
  - GetVersionEx Function
  - GetWindowsDirectory Function
- Windows (more info)
  - FlashWindow Function
  - GetActiveWindow Function
  - GetParent Function
  - GetTopWindow Function
  - GetWindow Function
  - GetWindowRect Function
  - GetWindowText Function
  - GetWindowTextLength Function
  - SetParent Function
  - SetWindowPos Function
  - SetWindowText Function
- Miscellaneous
  - ExitWindowsEx Function
  - Sleep Sub

Back to the top.