Platform SDK: Active Directory, ADSI, and Directory Services |
Typically, host-based services create SCPs under the computer object for their host computer. Host-based services are services closely tied to a single host computer.
To create SCPs under a computer object
For sample code that does this, see How Clients Find and Use a Service Connection Point.
Note that only computers that are domain members have valid computer objects in the directory.
To get the DNS or NetBIOS name of the local computer, call the GetComputerNameEx function.