public static extern IntPtr CertOpenStore ( [In, MarshalAs(UnmanagedType.LPStr)] string lpszStoreProvider, [In, MarshalAs(UnmanagedType.U4)] CertEncodingType CertEncodingType, [In, MarshalAs(UnmanagedType.SysInt)] IntPtr hCryptProv, [In, MarshalAs(UnmanagedType.U4)] CertOpenStoreFlags dwFlags, [In] ref CRYPTOAPI_BLOB pvPara );
internal static extern IntPtr CertOpenStore(CertOpenStoreProvider storeProvider, CertOpenStoreEncodingType dwEncodingType, IntPtr notUsed1, CertOpenStoreFlags dwFlags, [MarshalAs(UnmanagedType.LPWStr)] string storeName);
IntPtr CertOpenStore(CertOpenStoreProvider storeProvider, CertOpenStoreEncodingType dwEncodingType, IntPtr notUsed1, // hCryptProv CertOpenStoreFlags dwFlags, [MarshalAs(UnmanagedType.LPWStr)] string storeName);