COM might have already been initialized in the beacon and not closed. Since we are not dealing with UI operations, there's no need to consider the threading model. Therefore, we can use the already initialized COM. Hence, if an RPC_E_CHANGED_MODE error occurs, we can continue executing.
COM might have already been initialized in the beacon and not closed. Since we are not dealing with UI operations, there's no need to consider the threading model. Therefore, we can use the already initialized COM. Hence, if an RPC_E_CHANGED_MODE error occurs, we can continue executing.