IVdsService::WaitForServiceReady (Opnum 4)

The WaitForServiceReady method waits for VDS initialization to complete and returns the status of the VDS initialization in the HRESULT.

 HRESULT WaitForServiceReady();

This method has no parameters.

Return Values: The method MUST return zero to indicate success or the error code VDS_E_INITIALIZED_FAILED if the service-ready state is "failed".

Upon receiving this message, if the service-ready state is or becomes "failed", the server MUST return VDS_E_INITIALIZED_FAILED (HRESULT of 0x80042401). The server MUST block the call until the service-ready state is "ready", after which it MUST return success (HRESULT of 0x00000000).