Mercurial > trustbridge
comparison ui/tests/windowsstoretest.cpp @ 602:854248d81ba4
Fully switch to unicode for windows.
This will be needed sooner or later and it makes sense to have it unified now.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Tue, 17 Jun 2014 17:25:12 +0200 |
parents | 17e1c8f37d72 |
children | 317ee9dc4684 |
comparison
equal
deleted
inserted
replaced
601:9cdc14373a5d | 602:854248d81ba4 |
---|---|
12 #include "../cinst/windowsstore.h" | 12 #include "../cinst/windowsstore.h" |
13 | 13 |
14 #include <QTest> | 14 #include <QTest> |
15 | 15 |
16 void WindowsStoreTest::dumpContents() { | 16 void WindowsStoreTest::dumpContents() { |
17 char pszNameString[256]; | 17 wchar_t pszNameString[256]; |
18 PCCERT_CONTEXT pCert = NULL; | 18 PCCERT_CONTEXT pCert = NULL; |
19 qDebug() << "Currently in store: " ; | 19 qDebug() << "Currently in store: " ; |
20 while((pCert = CertEnumCertificatesInStore(testStore, pCert))) { | 20 while((pCert = CertEnumCertificatesInStore(testStore, pCert))) { |
21 if(CertGetNameString(pCert, | 21 if(CertGetNameString(pCert, |
22 CERT_NAME_SIMPLE_DISPLAY_TYPE, | 22 CERT_NAME_SIMPLE_DISPLAY_TYPE, |