[io-layer] Extract error (#4279)
[mono.git] / mono / metadata / w32file-win32.c
index 7a5478cf2e55b31c314bb05fc8b25c57e27208fb..953f7926c76a72175b3fef48d6eee9f0efbb344a 100644 (file)
@@ -56,6 +56,12 @@ mono_w32file_create(const gunichar2 *name, guint32 fileaccess, guint32 sharemode
        return CreateFile (name, fileaccess, sharemode, NULL, createmode, attrs, NULL);
 }
 
+gboolean
+mono_w32file_close (gpointer handle)
+{
+       return CloseHandle (handle);
+}
+
 gboolean
 mono_w32file_delete (const gunichar2 *name)
 {