summary refs log tree commit diff stats
path: root/src/fe-gtk/chanlist.c
diff options
context:
space:
mode:
authorArnavion <arnavion@gmail.com>2015-02-10 22:14:22 -0800
committerArnavion <arnavion@gmail.com>2015-02-10 22:14:22 -0800
commit5a87d814cf87e817390cdf40aff3fe7a6ea4948f (patch)
tree274273b6329781ba2d44c50f6765fcd7a5b78849 /src/fe-gtk/chanlist.c
parentac54a2ed457d37a40be193bb0fea684f1dd0e197 (diff)
Call CoInitialize, CoInitializeSecurity and CoUninitialize from the main process, not from a DLL.
They're process-level functions and aren't meant to be called from DLLs. CoInitSecurity in particular fails with RPC_E_TOO_LATE even if no other call to CoCreateInstance has been made yet.

Fixes sysinfo's WMI calls on Windows 8.1 and above.
Diffstat (limited to 'src/fe-gtk/chanlist.c')
0 files changed, 0 insertions, 0 deletions