Determining Supported COM APIs

All platforms include Ole32.dll, whether the run-time support is Minimal COM, COM, or DCOM. To determine if a function is supported in a specific platform, you can check Ole32.dll to see if that function is included. To see the list of Automation functions, you can check Oleaut32.dll.

To list the functions using Platform Builder

  1. Open the workspace that contains the operating system image.

  2. From the Build menu, choose Open Build Release Directory.

  3. Type link /dump /exports ole32.dll.

    You will see the list of all the functions that are included in Ole32.dll, that are supported in this platform.

If you are an application developer using an exported SDK in Microsoft Windows eMbedded Visual C++® 4.0 and you have access to the device with the operating system image, you can verify the existence of the Ole32.dll using the Remote File Viewer tool. However, you cannot list the contents of the DLL unless you have access to the build release directory. To see the list of functions included in the DLL, you can check the default API tables that show the support for the three levels of COM using the following procedure:

To list the functions using eMbedded Visual C++

  1. Find out from the device manufacturer the level of run-time support for COM; that is, whether it is Minimal COM, COM, or DCOM.

  2. In the device SDK, you can find the following topics Minimal COM Supported APIs, COM Supported APIs, and DCOM Supported APIs.

    Each topic lists the supported APIs for each level of COM support. Automation Supported APIs topic lists additional functions.

**Note   **The API list in the SDK shows the default implementation for Minimal COM, COM, and DCOM. This does not reflect any customization that the device manufacturer may have done for COM. You can ask the manufacturer for a list of functions in Ole32.dll. This list is generated from the build release directory.

To determine if an interface is supported

  • Check the interface registration on the device to verify if the interface is supported.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.