33#define HANDLE_CHUNK_SIZE 0x10
40 0, 0, { (
ULONG_PTR)(__FILE__
": handle_cs") }
81 TRACE(
"destroying object %p\n",
hdr );
137 TRACE(
"destroying handle %Ix for object %p\n",
handle + 1,
hdr );
147 if (
hdr->vtbl->handle_closing)
148 hdr->vtbl->handle_closing(
hdr );
#define InterlockedIncrement
#define InterlockedDecrement
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
static CRITICAL_SECTION_DEBUG handle_cs_debug
static CRITICAL_SECTION handle_cs
static BOOL alloc_handle(struct handle_table *lpTable, OBJECTHDR *lpObject, HCRYPTKEY *lpHandle)
BOOL free_handle(HINTERNET hinternet)
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
static void close_connection(void)
LIST_ENTRY ProcessLocksList
void WINAPI LeaveCriticalSection(LPCRITICAL_SECTION)
void WINAPI EnterCriticalSection(LPCRITICAL_SECTION)
#define WINHTTP_HANDLE_TYPE_REQUEST
#define WINHTTP_CALLBACK_STATUS_HANDLE_CLOSING