forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Windows DLL (API) and their commands

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Knowledge Base
View previous topic :: View next topic  
Author Message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Mon Jun 23, 2003 9:57 pm    Post subject: Windows DLL (API) and their commands Reply with quote

OK, I have compiled a small list of Windows DLLS and their commands.

It would be great if some people with more understanding of these could create some examples in VDS5 Code Very Happy

Quote:

Advapi32.dll
------------
RegCloseKey
RegCreateKeyEx
RegDeleteKey
RegDeleteValue
RegEnumKeyEx
RegEnumValue
RegOpenKeyEx
RegQueryInfoKey
RegQueryValueEx
RegSetValueEx

Comctl32.dll
------------
InitCommonControlsEx

Gdi32.dll
---------
AddFontResource
BitBlt
BeginPath
CreateBitmap
CreateCompatibleBitmap
CreateCompatibleDC
CreateDC
CreateFontIndirect
CreatePen
CreatePolygonRgn
CreateSolidBrush
DeleteDC
DeleteEnhMetaFile
DeleteMetaFile
DeleteObject
EndPath
ExtFloodFill
FillRect
FillPath
FillRgn
GetBkMode
GetCurrentObject
GetDeviceCaps
GetEnhMetaFile
GetEnhMetaFileHeader
GetMetaFile
GetMetaFileBitsEx
GetObject
GetPixel
GetStockObject
PlayEnhMetaFile
PlayMetaFile
Polygon
Polyline
RemoveFontResource
SelectObject
SetBkColor
SetBkMode
SetMetaFileBitsEx
SetPixel
SetWindowRgn
SetWinMetaFileBits
StrokeAndFillPath
StrokePath
TextOut

Kernel32.dll
------------
CloseHandle
CommandLineToArgv
CreateFile
CreateFileMapping
DragQueryPoint
EnumResourceNames
EnumResourceTypes
ExitProcess
FileTimeToLocalFileTime
FileTimeToSystemTime
FindClose
FindFirstFile
FindResource
FlushViewOfFile
FormatMessage
FreeLibrary
GetCommandLine
GetCompressedFileSize
GetComputerName
GetDiskFreeSpace
GetDiskFreeSpaceEx
GetDriveType
GetExitCodeProcess
GetFileSize
GetFullPathName
GetLocaleInfo
GetModuleHandle
GetPriorityClass
GetProcAddress
GetProfileString
GetShortPathName
GetStartupInfo
GetSystemDefaultLCID
GetSystemDirectory
GetTimeZoneInformation
GetVersionEx
GetVolumeInformation
GetWindowsDirectory
GlobalAlloc
GlobalFree
GlobalHandle
GlobalLock
GlobalSize
GlobalUnlock
LocalFileTimeToFileTime
LoadLibrary
LoadLibraryEx
lstrcpy
lstrlen
MapViewOfFile
OpenFileMapping
OpenProcess
RtlMoveMemory
(aka CopyMemory)
SetFileAttributes
SetFileTime
SetPriorityClass
SetVolumeLabel
Sleep
SystemTimeToFileTime
TerminateProcess
UnmapViewOfFile
VerLanguageName
WaitForSingleObject
WriteProfileString

Mpr.dll
-------
WNetGetConnection
WNetGetUniversalName

Msimg32.dll
-----------
TransparentBlt

Netapi32.dll
------------
DsGetDcName
NetApiBufferFree
NetRemoteTOD
NetShareEnum
NetUserChangePassword
NetUserGetGroups
NetUserGetInfo
NetUserGetLocalGroups
NetWkstaGetInfo
NetWkstaUserGetInfo

Olepro32.dll
------------
OleCreatePictureIndirect
StringFromGUID2

Psapi.dll
---------
EnumProcessModules
GetModuleBaseName
GetModuleFileNameEx

Shell32.dll
-----------
DragQueryFile
DragQueryPoint
ShellExecute
ShellNotifyIcon
SHGetFileInfo

Svrapi.dll
----------
NetShareEnum

User32.dll
----------
AttachThreadInput
BeginPaint
CallWindowProc
ChangeClipboardChain
CountClipboardFormats
CloseClipboard
CreateWindowEx
DefWindowProc
DestroyIcon
DestroyWindow
DispatchMessage
DrawEdge
DrawFrameControl
DrawIcon
EmptyClipboard
EndPaint
EnumChildWindows
EnumClipboardFormats
EnumWindows
FillRect
FindWindow
GetAsyncKeyState
GetClassLong
GetClassName
GetClipboardData
GetClientRect
GetClipboardFormatName
GetClipboardOwner
GetClipboardViewer
GetCursorPos
GetDesktopWindow
GetDC
GetEnhMetaFileHeader
GetForegroundWindow
GetKeyState
GetMenuItemCount
GetMenuItemID
GetMenuItemInfo
GetMessage
GetMetaFileBitsEx
GetNextWindow
GetOpenClipboardWindow
GetParent
GetPriorityClipboardFormat
GetProp
GetSysColor
GetSystemMenu
GetSystemMetrics
GetTopWindow
GetWindow
GetWindowLong
GetWindowRect
GetWindowText
GetWindowThreadProcessId
InvalidateRect
IsClipboardFormatAvailable
IsIconic
IsWindow
IsWindowVisible
keybd_event
KillTimer
LoadCursor
LoadIcon
LoadString
LockWindowUpdate
mouse_event
MoveWindow
OpenClipboard
PlayEnhMetaFile
PlayMetaFile
PostMessage
PostQuitMessage
PtInRect
ReleaseCapture
ReleaseDC
RegisterClassEx
RegisterClipboardFormat
RegisterWindowMessage
RemoveMenu
RemoveProp
ScreenToClient
SendMessage
SendMessageTimeout
SetActiveWindow
SetCapture
SetClipboardData
SetClipboardViewer
SetCursorPos
SetForegroundWindow
SetLayeredWindowAttributes
SetMapMode
SetMenuItemInfo
SetProp
SetTimer
SetViewportOrgEx
SetViewportExtEx
SetWindowOrgEx
SetWindowExtEx
SetWindowLong
SetWindowPos
SetWindowsHookEx
ShowWindow
SystemParametersInfo
TranslateMessage
UnhookWindowsHookEx
UnregisterClass
UpdateWindow
WindowFromPoint

Vdmdbg.dll
----------
VDMEnumProcessWOWVDMEnumTaskWOWExVDMTerminateTaskWOW
Version.dll
-----------
GetFileVersionInfo
GetFileVersionInfoSize
VerQueryValue

Wininet.dll
-----------
FtpFindFirstFile
InternetAutodial
InternetAutodialHangup
InternetCanonicalizeUrl
InternetCloseHandle
InternetConnect
InternetGetConnectedState
InternetCreateUrl
InternetCanonicalizeUrl
InternetGetLastResponseInfo
InternetOpen
InternetOpenUrl

Winmm.dll
---------
PlaySound
mciSendString
timeBeginPeriod
timeEndPeriod
timeGetDevCaps
timeGetTime

Winspool.dll
------------
ClosePrinter
EndDocPrinter
EndPagePrinter
EnumJobs
EnumPrinters
GetDefaultPrinter
GetJob
GetPrinter
OpenPrinter
PrinterProperties
SetDefaultPrinter
SetJob
SetPrinter
StartDocPrinter
StartPagePrinter
WritePrinter



Hope this helps and maybe some gets some ideas ?

Nathan
Back to top
View user's profile Send private message Send e-mail Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Jun 23, 2003 11:56 pm    Post subject: Reply with quote

Wow Nathan, you really help! Very Happy Thumbs Up Very Happy

How did you come to find all of these?

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Tue Jun 24, 2003 11:51 am    Post subject: Reply with quote

well done nathan...all we need now is someone to tell us what each one does and how to use it Very Happy

Serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
vdsalchemist
Admin Team


Joined: 23 Oct 2001
Posts: 1448
Location: Florida, USA

PostPosted: Wed Jun 25, 2003 4:24 pm    Post subject: Reply with quote

Hi All,
For those that don't know I have posted the Win32 API help file from Microsoft here at vdsworld.com. It is in the Articles section. It has most of the Win32 API functions listed and what each are for and how to use them. Also for anyone that has any questions of how to do something with the win32 API there is a section on the DLL Developers forum for this of which I am the moderator and would be happy to answer any questions you may have.
Also if you look at my website you will see a link to a VB to Gadget converter that I built for Gadget. In that package is a Text file that has most of the Win32 API listed in VB syntax. The converter will convert it to Gadget's syntax. The converter is opensource and was written in VDS 3.51. It does not require any external DLL's to work. Everyone is welcome to update it as they like even if you wanted to change it to convert to VDS 5's syntax your welcome to do so.

_________________
Home of

Give VDS a new purpose!
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Thu Jun 26, 2003 1:08 pm    Post subject: Reply with quote

good to know mindpower...i'll keep all this in mind when i will need to access api in dll's

Serge

_________________
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Knowledge Base All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group