Call this method before calling any Microsoft.Win32 method that requires OLE. OleRequired first checks to see if OLE has been initialized on the current thread. If not, it initializes the thread for OLE.
Unless a thread calls OLE methods directly, you do not need to call this method.
Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)