|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <stdarg.h>#include <windef.h>#include <winbase.h>#include "handle.h"#include <wine/debug.h>
Go to the source code of this file.
Macros | |
| #define | WIN32_NO_STATUS |
| #define | WIN32_LEAN_AND_MEAN |
| #define | HANDLE2INDEX(h) ((h)-1) |
| #define | INDEX2HANDLE(i) ((i)+1) |
Functions | |
| WINE_DEFAULT_DEBUG_CHANNEL (handle) | |
| void | init_handle_table (struct handle_table *lpTable) |
| void | destroy_handle_table (struct handle_table *lpTable) |
| BOOL | is_valid_handle (struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType) |
| static BOOL | grow_handle_table (struct handle_table *lpTable) |
| static BOOL | alloc_handle (struct handle_table *lpTable, OBJECTHDR *lpObject, HCRYPTKEY *lpHandle) |
| BOOL | release_handle (struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType) |
| BOOL | lookup_handle (struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType, OBJECTHDR **lplpObject) |
| BOOL | copy_handle (struct handle_table *lpTable, HCRYPTKEY handle, DWORD dwType, HCRYPTKEY *copy) |
| HCRYPTKEY | new_object (struct handle_table *lpTable, size_t cbSize, DWORD dwType, DESTRUCTOR destructor, OBJECTHDR **ppObject) |
|
static |
Definition at line 183 of file handle.c.
Referenced by copy_handle(), new_object(), WinHttpConnect(), WinHttpOpen(), and WinHttpOpenRequest().
| BOOL copy_handle | ( | struct handle_table * | lpTable, |
| HCRYPTKEY | handle, | ||
| DWORD | dwType, | ||
| HCRYPTKEY * | copy | ||
| ) |
Definition at line 310 of file handle.c.
Referenced by release_and_install_key(), and RSAENH_CPGetUserKey().
| void destroy_handle_table | ( | struct handle_table * | lpTable | ) |
|
static |
Definition at line 138 of file handle.c.
Referenced by alloc_handle().
| void init_handle_table | ( | struct handle_table * | lpTable | ) |
Definition at line 53 of file handle.c.
Referenced by DllMain().
| BOOL is_valid_handle | ( | struct handle_table * | lpTable, |
| HCRYPTKEY | handle, | ||
| DWORD | dwType | ||
| ) |
Definition at line 96 of file handle.c.
Referenced by crypt_export_key(), initialize_stdio_handles_nolock(), lookup_handle(), release_handle(), RSAENH_CPDecrypt(), RSAENH_CPDeriveKey(), RSAENH_CPDestroyHash(), RSAENH_CPDestroyKey(), RSAENH_CPDuplicateHash(), RSAENH_CPDuplicateKey(), RSAENH_CPEncrypt(), RSAENH_CPExportKey(), RSAENH_CPGenRandom(), RSAENH_CPGetHashParam(), RSAENH_CPGetKeyParam(), RSAENH_CPSetHashParam(), RSAENH_CPSetKeyParam(), and RSAENH_CPVerifySignature().
| BOOL lookup_handle | ( | struct handle_table * | lpTable, |
| HCRYPTKEY | handle, | ||
| DWORD | dwType, | ||
| OBJECTHDR ** | lplpObject | ||
| ) |
Definition at line 275 of file handle.c.
Referenced by copy_handle(), crypt_export_key(), get_key_container(), import_symmetric_key(), read_key_container(), read_key_value(), RSAENH_CPCreateHash(), RSAENH_CPDecrypt(), RSAENH_CPDeriveKey(), RSAENH_CPDuplicateHash(), RSAENH_CPDuplicateKey(), RSAENH_CPEncrypt(), RSAENH_CPExportKey(), RSAENH_CPGetHashParam(), RSAENH_CPGetKeyParam(), RSAENH_CPHashData(), RSAENH_CPHashSessionKey(), RSAENH_CPSetHashParam(), RSAENH_CPSetKeyParam(), RSAENH_CPSignHash(), RSAENH_CPVerifySignature(), store_key_pair(), store_key_permissions(), tls1_p(), and tls1_prf().
| HCRYPTKEY new_object | ( | struct handle_table * | lpTable, |
| size_t | cbSize, | ||
| DWORD | dwType, | ||
| DESTRUCTOR | destructor, | ||
| OBJECTHDR ** | ppObject | ||
| ) |
Definition at line 353 of file handle.c.
Referenced by new_key(), new_key_container(), RSAENH_CPCreateHash(), RSAENH_CPDuplicateHash(), RSAENH_CPDuplicateKey(), and StorageImpl_Refresh().
| BOOL release_handle | ( | struct handle_table * | lpTable, |
| HCRYPTKEY | handle, | ||
| DWORD | dwType | ||
| ) |
Definition at line 230 of file handle.c.
Referenced by import_plaintext_key(), read_key_container(), release_key_container_keys(), RSAENH_CPAcquireContext(), RSAENH_CPDestroyHash(), RSAENH_CPDestroyKey(), RSAENH_CPReleaseContext(), and tls1_prf().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | handle | ) |