1 #ifndef _HAD_ZIP_SOURCE_FILE_WIN32_H
2 #define _HAD_ZIP_SOURCE_FILE_WIN32_H
38 #if !defined(MS_UWP) && !defined(_WIN32_WINNT)
39 #define _WIN32_WINNT 0x0501
53 char *(*allocate_tempname)(
const char *
name,
size_t extra_chars,
size_t *lengthp);
55 BOOL(__stdcall *delete_file)(
const void *
name);
56 DWORD(__stdcall *get_file_attributes)(
const void *
name);
61 char *(*string_duplicate)(
const char *string);
static struct sockaddr static addrlen static backlog const void static flags void struct sockaddr from
BOOL(__stdcall *move_file)(const void *from
void(* make_tempname)(char *buf, size_t len, const char *name, zip_uint32_t i)
DWORD DWORD PSECURITY_ATTRIBUTES DWORD DWORD file_attributes
DWORD DWORD PSECURITY_ATTRIBUTES security_attributes
DWORD DWORD PSECURITY_ATTRIBUTES DWORD DWORD HANDLE template_file
DWORD DWORD PSECURITY_ATTRIBUTES DWORD creation_disposition
GET_FILEEX_INFO_LEVELS void * information
BOOL(__stdcall *delete_file)(const void *name)
HANDLE(__stdcall *create_file)(const void *name
DWORD(__stdcall *get_file_attributes)(const void *name)
GET_FILEEX_INFO_LEVELS info_level
BOOL(__stdcall *get_file_attributes_ex)(const void *name
int _zip_win32_error_to_errno(DWORD win32err)
void _zip_win32_op_close(zip_source_file_context_t *ctx)
bool _zip_filetime_to_time_t(FILETIME ft, time_t *t)
zip_int64_t _zip_win32_op_tell(zip_source_file_context_t *ctx, void *f)
zip_source_file_operations_t _zip_source_file_win32_named_ops
zip_int64_t _zip_win32_op_read(zip_source_file_context_t *ctx, void *buf, zip_uint64_t len)
bool _zip_win32_op_seek(zip_source_file_context_t *ctx, void *f, zip_int64_t offset, int whence)