With the interface pointer returned by CoCreateInstance, call the ISdoMachine::Attach method. Pass NULL as the parameter to the Attach method. The value NULL specifies that Attach associate the machine object with the local computer. Attaching to a remote computer is not supported.
To determine if the local computer is already attached, call the ISdoMachine::GetAttachedComputer method.
See Attaching to an SDO-Enabled Computer for sample code that demonstrates how to attach to the local computer.
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.
