473,397 Members | 1,949 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,397 software developers and data experts.

API Return codes

Does anyone know where I can find the Windows API's return codes?

I know they are in platform SDK, but I wonder isn't there other place where
I can find them, because I don't wish to download the SDK.
Nov 21 '05 #1
4 1335
"Nikolay Petrov" <jo**************@mail.bg> schrieb:
Does anyone know where I can find the Windows API's return codes?

I know they are in platform SDK, but I wonder isn't there other place
where I can find them, because I don't wish to download the SDK.

If you have a permanent internet connection, you can lookup the return
values on the online version of the SDK documentation. If you only need the
declares/constants:

My ActiveVB-coworker Christoph von Wittch provides an API viewer that can
export declares/... for VB.NET:

ApiViewer
<URL:http://www.apiviewer.de/>

English translation:

ApiViewer (en)
<URL:http://www.activevb.de/rubriken/apiviewer/index-apiviewereng.html>

Ken Tucker [MVP] wrote an add-in for VS.NET 2003:

VB API Viewer 2003
<URL:http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=673d6b40-3b9b-46a7-a958-a25f4e87568a>

pinvoke.net is a web-based collaborative wiki that collects declares/... for
different .NET programming languages:

pinvoke.net: the interop wiki!
<URL:http://www.pinvoke.net/>

If you don't want to struggle with the declares yourself, you can use this
library:

A Win32 Library for .NET
<URL:http://www.codeproject.com/csharp/win32.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2
On Mon, 24 Jan 2005 10:56:57 +0200, "Nikolay Petrov"
<jo**************@mail.bg> wrote:
Does anyone know where I can find the Windows API's return codes?

I know they are in platform SDK, but I wonder isn't there other place where
I can find them, because I don't wish to download the SDK.


A lot of the APIs are documented in the Win32 Programmer's Reference
Help file - typically Win32SDK.hlp

That should have come with your VB6
Nov 21 '05 #3
Thanks to both of you
"Nikolay Petrov" <jo**************@mail.bg> wrote in message
news:u4**************@TK2MSFTNGP11.phx.gbl...
Does anyone know where I can find the Windows API's return codes?

I know they are in platform SDK, but I wonder isn't there other place
where I can find them, because I don't wish to download the SDK.

Nov 21 '05 #4
Herfried,
Could you please look at my post named: "Console Redirection (to Herfried K.
Wagner)"
"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:uy**************@TK2MSFTNGP09.phx.gbl...
"Nikolay Petrov" <jo**************@mail.bg> schrieb:
Does anyone know where I can find the Windows API's return codes?

I know they are in platform SDK, but I wonder isn't there other place
where I can find them, because I don't wish to download the SDK.

If you have a permanent internet connection, you can lookup the return
values on the online version of the SDK documentation. If you only need
the declares/constants:

My ActiveVB-coworker Christoph von Wittch provides an API viewer that can
export declares/... for VB.NET:

ApiViewer
<URL:http://www.apiviewer.de/>

English translation:

ApiViewer (en)
<URL:http://www.activevb.de/rubriken/apiviewer/index-apiviewereng.html>

Ken Tucker [MVP] wrote an add-in for VS.NET 2003:

VB API Viewer 2003
<URL:http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=673d6b40-3b9b-46a7-a958-a25f4e87568a>

pinvoke.net is a web-based collaborative wiki that collects declares/...
for
different .NET programming languages:

pinvoke.net: the interop wiki!
<URL:http://www.pinvoke.net/>

If you don't want to struggle with the declares yourself, you can use this
library:

A Win32 Library for .NET
<URL:http://www.codeproject.com/csharp/win32.asp>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Josh Mcfarlane | last post by:
I keep trying to get myself out of the return-code mindset, but it doesn't seem to work. They are suppose to get rid of if-then statements of return codes, but you still have to do an if statement...
16
by: Fao, Sean | last post by:
As far as I can tell, the standard has defined three portable return codes from function main() (0, EXIT_SUCCESS, EXIT_FAILURE). Personally, on all platforms I have worked with, EXIT_SUCCESS is,...
3
by: c# beginner | last post by:
we are trying to standardize return codes across our .NET applications (that are soon to be developed.) What is the best practice for standardizing return codes? I know of only the following...
10
by: Tony | last post by:
I am running an application called AcroComm.exe to poll time clocks here at our company. I have written a small C# app that will poll the clocks based on information found in a DB. My problem is...
1
by: Alex P | last post by:
Hi, i would like to check for a given query (insert, update, delete) if there is a key or constraint violation which prevents the query from being executed. Is such a feature implemented in the...
3
by: RdS | last post by:
Where do I find return codes for MS methods. For instance the filesystemobject methods. I need to know what methods return (error codes, etc. and what they mean). I have searched MSDN and of...
24
by: Earl | last post by:
I have all of my data operations in a separate library, so I'm looking for what might be termed "best practices" on a return type from those classes. For example, let's say I send an update from...
3
by: asearle | last post by:
Hallo everyone, I have a perl script which can return error codes. I have done this with, for example, 'exit 11;', which would (I imagine) send the exit code 11 (instead of 0) back to the calling...
8
by: sloan | last post by:
Does anyone have any good articles on Exception Handing in DotNet. As a "get rid of the API mode of knowing if something worked, we're not in VB6 land anymore Dorothy". I have a few people at...
4
by: barcaroller | last post by:
I am trying to adopt a model for calling functions and checking their return values. I'm following Scott Meyer's recommendation of not over-using exceptions because of their potential overhead. ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.