HOWTO: Checking for Supported API Calls

ID: 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:


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:

Q83520 General Overview of Win32s

Additional query words: compatguidediff


Keywords          : kbDLL kbWinOS2000 kbSDKWin32 kbGrpKernBase 
Version           : winnt:
Platform          : winnt 
Issue type        : kbhowto 

Last Reviewed: May 25, 1999