msdasql: Implement IColumnsRowset GetAvailableColumns.
[wine.git] / dlls / ncrypt / ncrypt_internal.h
blobeffb75df45f3723a3d013520a1e868ccdad3b85d
1 /*
2 * Copyright (c) 2021 Santino Mazza
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #include <bcrypt.h>
21 enum algid
23 /* symmetric */
24 AES,
25 /* asymmetric */
26 RSA,
27 DSA,
28 ECDSA,
31 struct key
33 enum algid algid;
34 BCRYPT_KEY_HANDLE bcrypt_key;
37 struct storage_provider
41 enum object_type
43 KEY,
44 STORAGE_PROVIDER,
47 struct object_property
49 WCHAR *key;
50 DWORD value_size;
51 void *value;
54 struct object
56 enum object_type type;
57 DWORD num_properties;
58 struct object_property *properties;
59 union
61 struct key key;
62 struct storage_provider storage_provider;