Microsoft KB Archive/227048

{|
 * width="100%"|

HOWTO: Checking for Supported API Calls

 * }

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 obtaining support for a Beta release, please see the documentation included with the Beta product files, or check the Web location from which you downloaded the release.

-

The information in this article applies to:


 * Microsoft Win32 Application Programming Interface (API), included with:
 * the operating system: Microsoft Windows 2000

-

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.