IADMEXT::EnumDcomCLSIDs

After the initialization call to IADMEXT::Initialize, IISADMIN will call the IADMEXT::EnumDcomCLSIDs method to collect your DCOM CLSIDs. It will be called with index (dwEnumIndex) starting at zero and incrementing with each call until you return HRESULT_FROM_WIN32(ERROR_NO_MORE_ITEMS).

Your returned CLSIDs will be added to the list of CLSIDs from other IIS custom extensions in the MULTISZ metabase property MD_IISADMIN_EXTENSIONS (user type IIS_MD_UT_SERVER) under the path /LM/IISADMIN/Extensions/DCOMCLSIDs.

Syntax

virtual HRESULT STDMETHODCALLTYPE EnumDcomCLSIDs(

CLSID *pclsidDcom,

DWORD dwEnumIndex

);

 

Parameters
pclsidDcom
[size_is][out]  Specifies the DCOM CLSID to be registered in the metabase.
dwEnumIndex
[in]  Receives an index for the requested CLSID, starting at zero and incrementing with each call until your program returns HRESULT_FROM_WIN32(ERROR_NO_MORE_ITEMS).