[reflection] Use coop handles for MonoMethod icalls (#4272)
[mono.git] / mono / metadata / file-io-windows.c
1 /*
2  * file-io-windows.c: Windows File IO internal calls.
3  *
4  * Copyright 2016 Microsoft
5  * Licensed under the MIT license. See LICENSE file in the project root for full license information.
6  */
7 #include <config.h>
8 #include <glib.h>
9
10 #if defined(HOST_WIN32)
11 #include <winsock2.h>
12 #include <windows.h>
13 #include "mono/metadata/file-io-windows-internals.h"
14
15 gunichar2
16 ves_icall_System_IO_MonoIO_get_VolumeSeparatorChar ()
17 {
18         return (gunichar2) ':'; /* colon */
19 }
20
21 gunichar2
22 ves_icall_System_IO_MonoIO_get_DirectorySeparatorChar ()
23 {
24         return (gunichar2) '\\';        /* backslash */
25 }
26
27 gunichar2
28 ves_icall_System_IO_MonoIO_get_AltDirectorySeparatorChar ()
29 {
30         return (gunichar2) '/'; /* forward slash */
31 }
32
33 gunichar2
34 ves_icall_System_IO_MonoIO_get_PathSeparator ()
35 {
36         return (gunichar2) ';'; /* semicolon */
37 }
38
39 void ves_icall_System_IO_MonoIO_DumpHandles (void)
40 {
41         return;
42 }
43 #endif /* HOST_WIN32 */