diff options
author | marha <marha@users.sourceforge.net> | 2013-07-24 14:25:51 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2013-07-25 08:25:18 +0200 |
commit | de54c5b749b3eefb75d420840c889533a58aa342 (patch) | |
tree | 6502771c9dd5a0d455388734060469b18f2e4011 /xorg-server/hw/xwin/winSetAppUserModelID.c | |
parent | 0606cba5be2dab08f0b4de540d7b278fa6273daf (diff) | |
download | vcxsrv-de54c5b749b3eefb75d420840c889533a58aa342.tar.gz vcxsrv-de54c5b749b3eefb75d420840c889533a58aa342.tar.bz2 vcxsrv-de54c5b749b3eefb75d420840c889533a58aa342.zip |
64-bit compilation now compiles and runs
Diffstat (limited to 'xorg-server/hw/xwin/winSetAppUserModelID.c')
-rw-r--r-- | xorg-server/hw/xwin/winSetAppUserModelID.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xorg-server/hw/xwin/winSetAppUserModelID.c b/xorg-server/hw/xwin/winSetAppUserModelID.c index 41615e19c..3c449a3a8 100644 --- a/xorg-server/hw/xwin/winSetAppUserModelID.c +++ b/xorg-server/hw/xwin/winSetAppUserModelID.c @@ -34,6 +34,7 @@ #include "winmsg.h" #include <shlwapi.h> +#include <propvarutil.h> #define INITGUID #include "initguid.h" @@ -95,7 +96,7 @@ winSetAppUserModelID(HWND hWnd, const char *AppID) hr = g_pSHGetPropertyStoreForWindow(hWnd, &IID_IPropertyStore, (void **) &pps); if (SUCCEEDED(hr) && pps) { - memset(&pv, 0, sizeof(PROPVARIANT)); + PropVariantInit(&pv); if (AppID) { pv.vt = VT_LPWSTR; hr = SHStrDupA(AppID, &pv.pwszVal); |