34#define HANDLE_CHUNK_SIZE 0x10
41 0, 0, { (
ULONG_PTR)(__FILE__
": handle_cs") }
82 TRACE(
"destroying object %p\n",
hdr);
137 TRACE(
"destroying handle 0x%lx for object %p\n",
handle + 1,
hdr);
149 TRACE(
"freeing child handle %p for parent handle 0x%lx\n",
child->handle,
handle + 1);
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static void list_remove(struct list_entry *entry)
static void list_init(struct list_entry *head)
static BOOL alloc_handle(struct handle_table *lpTable, OBJECTHDR *lpObject, HCRYPTKEY *lpHandle)
static CRITICAL_SECTION_DEBUG handle_cs_debug
BOOL free_handle(HINTERNET hinternet)
static CRITICAL_SECTION handle_cs
struct object_header * grab_object(HINTERNET hinternet)
#define HANDLE_CHUNK_SIZE
static struct object_header ** handles
static ULONG_PTR max_handles
void release_object(struct object_header *hdr)
struct object_header * addref_object(struct object_header *hdr)
static ULONG_PTR next_handle
void send_callback(struct object_header *hdr, DWORD status, void *info, DWORD buflen)
static void close_connection(void)
static unsigned __int64 next
#define LIST_FOR_EACH_ENTRY_SAFE(cursor, cursor2, list, type, field)
LIST_ENTRY ProcessLocksList
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
#define WINHTTP_HANDLE_TYPE_REQUEST
#define WINHTTP_HANDLE_TYPE_SESSION
#define WINHTTP_CALLBACK_STATUS_HANDLE_CLOSING