[sre] Wrap mono_image_create_token with HANDLE_FUNCTION_{ENTER,RETURN}
[mono-project.git] / mono / metadata / mono-security-windows-internals.h
blobdc76e58cd03509369b98535a8f917668aa076745
1 /**
2 * \file
3 * Copyright 2016 Microsoft
4 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
5 */
6 #ifndef __MONO_METADATA_MONO_SECURITY_WINDOWS_INTERNALS_H__
7 #define __MONO_METADATA_MONO_SECURITY_WINDOWS_INTERNALS_H__
9 #include <config.h>
10 #include <glib.h>
12 #ifdef HOST_WIN32
13 #include "mono/metadata/security.h"
14 #include "mono/metadata/object.h"
15 #include "mono/metadata/object-internals.h"
16 #include "mono/metadata/metadata.h"
17 #include "mono/metadata/metadata-internals.h"
19 gint32
20 mono_security_win_get_token_name (gpointer token, gunichar2 ** uniname);
22 gboolean
23 mono_security_win_is_machine_protected (gunichar2 *path);
25 gboolean
26 mono_security_win_is_user_protected (gunichar2 *path);
28 gboolean
29 mono_security_win_protect_machine (gunichar2 *path);
31 gboolean
32 mono_security_win_protect_user (gunichar2 *path);
33 #endif /* HOST_WIN32 */
35 #endif /* __MONO_METADATA_MONO_SECURITY_WINDOWS_INTERNALS_H__ */