VbApiGuide.pdf

(7822 KB) Pobierz
Windows API Guide
vbapi.com - part of the VB-World Network
|
www.vbworld.com
|
www.vbforums.com
|
www.vbsquare.com
|
www.vb-
shop.com
|
Windows API Guide
Last Updated: July 7, 2002
Welcome to the Windows API Guide! Here, you will discover a wealth of information to help you
implement calls to the Windows API directly from your Visual Basic programs. This site is sort of a
work in progress; it falls short of encompassing the entire Windows API. Nevertheless, new information
about functions and the like is added every two or three weeks. Check back often to see what's new!
The New Guru Is Here!
Hello fellow programmers! I'm Chris Pietschmann, and I will be updating this site from now on. There
isn't anything new yet, but I'm working on a new format for the site. All the old stuff will remain in the
old look, and Only new stuff will have the new look. But I will still update the old stuff.
Reference
The
Reference
section contains documentation on hundreds of Windows API functions. Besides the
functions, information on the related structures and other items also appears for reference. Each function
page includes a well-commented example illustrating common usage of the function.
Articles
The
Articles
section contains articles about API-related topics. These multi-page articles go in-depth
about a specific issue in the API and offer a more well-rounded approach to learning about API functions
without much technical information. Of course, the reference information for each function is only a
click away.
Still can't find what you're looking for anywhere on the site? Then try browsing the
VB-World.net
web
site. Along with their sizable collection of Visual Basic programming information, they also have an
API
programming section
filled with helpful articles, some of which cover ideas not currently discussed on
this web site.
http://216.26.168.92/vbapi/index.html (1 of 2) [9/1/2002 5:00:02 PM]
Windows API Guide
Still unable to find what you're looking for? You might want to
e-mail me
about what you're looking for.
If I can't give you the information, I might be able to point you in the right direction anyway.
Awards the Windows API Guide has won:
Last Modified:
March 7, 2002
This page is copyright © 2001 Paul Kuliniewicz.
Copyright Information
Revised October 29, 2000
E-mail:
vbapi@vbapi.com Send Encrypted E-Mail
This page is at
http://www.vbapi.com/index.html
http://216.26.168.92/vbapi/index.html (2 of 2) [9/1/2002 5:00:02 PM]
Windows API Guide: Reference
vbapi.com - part of the VB-World Network
|
www.vbworld.com
|
www.vbforums.com
|
www.vbsquare.com
|
www.vbapi.com
|
www.vb-shop.com
|
Windows API Reference
Last Update: March 2, 2001
Important Message
I, Paul Kuliniewicz, am no longer able to continue maintaining this web site. There will be no more
updates to this site unless some other party takes over operation. Please read my
farewell message
for all
the details and other information for loyal visitors.
Welcome to the Reference section of the Windows API Guide. Here, you will find documentation on
hundreds of API functions and the structures that go along with them. Each API function page includes
an example in Visual Basic 5.0 which demonstrates proper usage. The information in the reference
section is organized according to what it describes. Please click on a link below.
Interested in what has been added or edited since the last update of the Windows API Guide? Take a look
at the
Revision History
of the Reference section!
January 21, 2001:
A smaller update than usual. The examples on all the
Winsock
functions have been
fixed. The old code could hang if the remote server would stop responding. That bug has been corrected
via the
ioctlsocket
function. Some
list box messages
have also been added, a
function
or
two
that work
with screen resolutions, and a number of various error fixes. Sadly, problems with the server prevented
me from getting the new search engine ready for this update. It should be up and running next time.
Speaking of which, there will be some revisions in the overall layout of the site, which will hopefully aid
navigation. Be warned: any bookmarks that point to anything that isn't
http://www.vbapi.com/
will
probably break, so be prepared.
q
q
q
Function Information:
(357 functions listed, 4 newly added)
r
Alphabetical Listing
r
Categorical Listing
Structure Information:
(83 structures listed)
r
Alphabetical Listing
Message Information:
(66 messages listed, 6 newly added)
http://216.26.168.92/vbapi/ref/index.html (1 of 2) [9/1/2002 5:00:11 PM]
Windows API Guide: Reference
q
q
q
q
Alphabetical Listing
r
Categorical Listing
Callback Function Information:
(15 callback functions listed)
r
Alphabetical Listing
Macro Information:
(15 macros listed)
r
Alphabetical Listing
Other Reference Information
API Glossary
r
Go back to the Windows API Guide home page.
Last Modified:
March 2, 2001
This page is copyright © 2001 Paul Kuliniewicz.
Copyright Information
Revised October 29, 2000
Go back to the Windows API Guide home page.
E-mail:
vbapi@vbapi.com Send Encrypted E-Mail
This page is at
http://www.vbapi.com/ref/index.html
http://216.26.168.92/vbapi/ref/index.html (2 of 2) [9/1/2002 5:00:11 PM]
Windows API Guide: Reference: Revision History
vbapi.com - part of the VB-World Network
|
www.vbworld.com
|
www.vbforums.com
|
www.vbsquare.com
|
www.vbapi.com
|
www.vb-shop.com
|
Windows API Reference: Revision
History
The following list identifies which pages have been added or significantly changed in each update of the
Windows API Guide's Reference section since February 13, 2000. Added or edited pages are listed
according to date and general description (i.e., function pages are grouped together, etc.). Any page that
was added in the update is flagged with
NEW.
Any page that was edited significantly (such as a
correction or a layout change) appears in normal text.
January 21, 2001 Update
January 21, 2001:
A smaller update than usual. The examples on all the
Winsock
functions have been
fixed. The old code could hang if the remote server would stop responding. That bug has been corrected
via the
ioctlsocket
function. Some
list box messages
have also been added, a
function
or
two
that work
with screen resolutions, and a number of various error fixes. Sadly, problems with the server prevented
me from getting the new search engine ready for this update. It should be up and running next time.
Speaking of which, there will be some revisions in the overall layout of the site, which will hopefully aid
navigation. Be warned: any bookmarks that point to anything that isn't
http://www.vbapi.com/
will
probably break, so be prepared.
q
Functions:
r
ChangeDisplaySettings
NEW
r
ClosePrinter
r
closesocket
r
connect
r
EnumDisplaySettings
NEW
r
GetProfileInt
r
htons
r
ioctlsocket
NEW
r
OpenPrinter
r
PrinterProperties
NEW
r
recv
http://216.26.168.92/vbapi/ref/history.html (1 of 11) [9/1/2002 5:00:21 PM]
Zgłoś jeśli naruszono regulamin