DSUtil: Add an helper function for CoInitialize.