d2d1: Also infer the alpha mode in d2d_d3d_render_target_CreateBitmapFromWicBitmap().
[wine.git] / dlls / mountmgr.sys / mountmgr.h
blob2f0db62c875e824084a1a16cc3e62c88d005bf61
1 /*
2 * Mountmanager private header
4 * Copyright 2008 Maarten Lankhorst
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include <stdarg.h>
23 #include "ntstatus.h"
24 #define WIN32_NO_STATUS
25 #include "windef.h"
26 #include "winbase.h"
27 #include "winternl.h"
28 #include "winioctl.h"
29 #include "ntddstor.h"
30 #include "ntddcdrm.h"
31 #include "ddk/wdm.h"
32 #define WINE_MOUNTMGR_EXTENSIONS
33 #include "ddk/mountmgr.h"
35 extern void initialize_dbus(void) DECLSPEC_HIDDEN;
36 extern void initialize_diskarbitration(void) DECLSPEC_HIDDEN;
38 /* device functions */
40 enum device_type
42 DEVICE_UNKNOWN,
43 DEVICE_HARDDISK,
44 DEVICE_HARDDISK_VOL,
45 DEVICE_FLOPPY,
46 DEVICE_CDROM,
47 DEVICE_DVD,
48 DEVICE_NETWORK,
49 DEVICE_RAMDISK
52 extern NTSTATUS add_volume( const char *udi, const char *device, const char *mount_point,
53 enum device_type type, const GUID *guid ) DECLSPEC_HIDDEN;
54 extern NTSTATUS remove_volume( const char *udi ) DECLSPEC_HIDDEN;
55 extern NTSTATUS add_dos_device( int letter, const char *udi, const char *device,
56 const char *mount_point, enum device_type type, const GUID *guid ) DECLSPEC_HIDDEN;
57 extern NTSTATUS remove_dos_device( int letter, const char *udi ) DECLSPEC_HIDDEN;
58 extern NTSTATUS query_dos_device( int letter, enum device_type *type, char **device, char **mount_point ) DECLSPEC_HIDDEN;
59 extern NTSTATUS WINAPI harddisk_driver_entry( DRIVER_OBJECT *driver, UNICODE_STRING *path ) DECLSPEC_HIDDEN;
61 /* mount point functions */
63 struct mount_point;
65 extern struct mount_point *add_dosdev_mount_point( DEVICE_OBJECT *device, UNICODE_STRING *device_name,
66 int drive ) DECLSPEC_HIDDEN;
67 extern struct mount_point *add_volume_mount_point( DEVICE_OBJECT *device, UNICODE_STRING *device_name,
68 const GUID *guid ) DECLSPEC_HIDDEN;
69 extern void delete_mount_point( struct mount_point *mount ) DECLSPEC_HIDDEN;
70 extern void set_mount_point_id( struct mount_point *mount, const void *id, unsigned int id_len ) DECLSPEC_HIDDEN;