File: urlmon.h

package info (click to toggle)
libgit2 0.25.1%2Breally0.24.6-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 28,512 kB
  • ctags: 15,888
  • sloc: ansic: 153,520; sh: 297; python: 175; makefile: 70; php: 65
file content (45 lines) | stat: -rw-r--r-- 1,227 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
/*
 * Copyright (C) the libgit2 contributors. All rights reserved.
 *
 * This file is part of libgit2, distributed under the GNU GPL v2 with
 * a Linking Exception. For full terms see the included COPYING file.
 */

#if defined(__MINGW_VERSION) || defined(__MINGW32_VERSION)

#ifndef __CUSTOM_URLMON_H
#define __CUSTOM_URLMON_H

typedef struct IInternetSecurityManager IInternetSecurityManager;

typedef struct IInternetSecurityManagerVtbl
{
	HRESULT(STDMETHODCALLTYPE *QueryInterface)(IInternetSecurityManager *, REFIID, void **);
	ULONG(STDMETHODCALLTYPE *AddRef)(IInternetSecurityManager *);
	ULONG(STDMETHODCALLTYPE *Release)(IInternetSecurityManager *);
	LPVOID SetSecuritySite;
	LPVOID GetSecuritySite;
	HRESULT(STDMETHODCALLTYPE *MapUrlToZone)(IInternetSecurityManager *, LPCWSTR, DWORD *, DWORD);
	LPVOID GetSecurityId;
	LPVOID ProcessUrlAction;
	LPVOID QueryCustomPolicy;
	LPVOID SetZoneMapping;
	LPVOID GetZoneMappings;
} IInternetSecurityManagerVtbl;

struct IInternetSecurityManager
{
	CONST_VTBL struct IInternetSecurityManagerVtbl *lpVtbl;
};

#define URLZONE_LOCAL_MACHINE 0
#define URLZONE_INTRANET      1
#define URLZONE_TRUSTED       2

#endif /* __CUSTOM_URLMON_H */

#else

#include_next <urlmon.h>

#endif