Library tutorials & articles
API Programming Series #2
By Sreejath S. Warrier, published on 15 Nov 2002
Arguments
This function takes two arguments. The first argument is a string and is passed ByVal. The second argument is a long value and is passed ByRef. Wait a minute! What are these ByVal and ByRef arguments and what is their significance? We'll see that in a minute. Now let us see the argument list:
-
lpBuffer- Points to a buffer to receive the null-terminated character string containing the computer name. -
nSize- Points to a variable that specifies the maximum size, in characters, of the buffer. This value should be large enough to containMAX_COMPUTERNAME_LENGTH + 1characters.
Related articles
Related discussion
-
ditto
by zapthedingbat (2 replies)
-
Mousewheel
by jonh (3 replies)
-
True multithread VB source code controls
by James Crowley (3 replies)
-
Rely
by Yujvendra Verma (4 replies)
-
True multithread VB source code controls
by James Crowley (3 replies)
The current release of the ApiViewer can now be found here:
http://www.activevb.de/rubriken/apiviewer/index-apiviewereng.html
or (German):
http://www.ApiViewer.de
Nice job!! I really like the resource links and continued learning suggestions. I can't wait til my site is ready, so I can give back to the community. Stay Tuned!!
charcoal
he's already posted part 4... i've just gotta get around to publishing 'em
i thought he was never gonna come back