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, you only need to register IID_IDccMan in your application.
The following code example shows how to initialize the IDccMan interface 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"