The first step in using the SDO API is to create an SDO machine object.
Use the CLSIDFromProgID function to obtain the class identifier (CLSID) for the SDO machine object. The programmatic identifier (ProgID) to use for the object is "IAS.SdoMachine".
Once you have the CLSID, call CoCreateInstance with this CLSID. Specify ISdoMachine as the interface for which to return a pointer.
See Attaching to an SDO-Enabled Computer for sample code that demonstrates how to obtain a machine SDO.
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
