How To Checking for Supported API Calls (227048)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows 2000
This article was previously published under Q227048 This article discusses a Beta release of a Microsoft product. The information in this article is provided as-is and is subject to change without notice.
No formal product support is available from Microsoft for this Beta product. For information about how to obtain support for a Beta release, see the documentation that is included with the Beta product files, or check the Web location from which you downloaded the release. SUMMARY
Win32 DLLs support a subset of the entire Win32 API. Check the Win32 API documentation and use debugging tools to make sure that the API calls you are using are supported on the platform you are targeting.
MORE INFORMATION
In Win32 DLLs, many unsupported functions are implemented as stubs that return ERROR_NOT_IMPLEMENTED. The error indicates that the API function is not supported on the current platform.
Other API functions may not exist at all in the Win32 DLLs. In that case, the system will return an error indicating that the procedure entry point could not be found, or a similar error.
Test your applications thoroughly, and use the Win32 API reference to make sure that your application will work properly on the platforms you are targeting. For information on the list of supported Win32 APIs, please refer to the "Win32 Programmer's Reference" documentation or the Win32api.csv file in your Win32 Software Development Kit (SDK) product.
You can also use the Dependency Walker (Depends.exe) that ships with Microsoft Visual C++ to get a list of all DLLs used by an executable. The Parent Import Function List View displays the list of parent import functions that are resolved and unresolved for the currently selected module.
REFERENCES
For additional information about the Win32 API, please see the following
article(s) in the Microsoft Knowledge Base:
83520 General Overview of Win32s
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbDLL kbhowto KB227048 |
---|
|