HOWTO: Checking for Supported API CallsID: Q227048
|
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.
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.
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