CertOpenSystemStore(NULL,"My") this is the syntex i use to open the
certificate store and later i enumerate the same store and it returns me 3
certificates.
I was earlier workign with IStore interface of CAPICOM and it was returning
me a Count of 3. i thought there is some problem of code so i switched to
CAPI but i m having the same results. i empyte'd "My" and "Other People"
store and it still returns me 3 certificates.
any help what can be workaround of it. BTW the certificates it return are CA
certs i looked into their details.
Thanks,
Danish Qamar.
Use CertOpenStore with lpszStoreProvider=CERT_STORE_PROV_SYSTEM and high
word of dwFlags = CERT_SYSTEM_STORE_CURRENT_USER or
CERT_SYSTEM_STORE_LOCAL_MACHINE to get the granularity you need.
I hope this helps,
-----
Monica Ene-Pietrosanu
Windows Security, Microsoft
This posting is provided "AS IS" with no warranties, and confers no rights.
"Sahil" <co...@topcoder.com> wrote in message
news:%23hHOR2g...@TK2MSFTNGP09.phx.gbl...