As mentioned earlier, both the DccMan class identifier, CLSID_DccMan, and the IDccMan interface identifier, IID_IDccMan, are passed in the call to CoCreateInstance. Because the Windows CE Services setup application registers CLSID_DccMan, your application only needs to register IID_IDccMan.
The following sample registry file shows the IDccMan class identifier being initialized in the registry.
REGEDIT4
[HKEY_CLASSES_ROOT\CLSID\499c0c20-A766-11cf-8011-00A0c90A8F78]
@="Connection Manager"
[HKEY_CLASSES_ROOT\CLSID\499c0c20-A766-11cf-8011- /
00A0c90A8F78\InprocServer32]
@="C:\\Windows\\System\\Rapi.dll"
"ThreadingModel"="Apartment"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\499c0c20-A766-11cf-8011- /
00A0c90A8F78]
@="Connection Manager"
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID\499c0c20-A766-11cf-8011- /
00A0c90A8F78\InprocServer32]
@="C:\\Windows\\System\\Rapi.dll"
"ThreadingModel" = "Apartment"