The IADMEXT::Initialize method is called by IISADMIN when it initializes. Your program then performs any necessary initialization tasks.
virtual HRESULT STDMETHODCALLTYPE Initialize(void) = 0;