#include "config.h"
#include "captive/storage.h" /* self */
-#include "captive/client.h"
#include "media.h"
#include <glib/gmessages.h>
#include "captive/unicode.h"
#include "reactos/ddk/status.h" /* for NT_SUCCESS() */
+#include "captive/options.h"
/**
* captive_cdrom_init:
*
* Creates system device "\Device\CdRom%d" providing readonly access
- * to the given #captive_image_iochannel as emulation of CD-ROM driver.
+ * to the given #image_iochannel as emulation of CD-ROM driver.
*
* libcaptive currently supports just one drive and thus "\Device\CdRom0"
* is always created. It is forbidden to call this function twice.
static struct captive_DriverObject cdrom_captive_DriverObject;
NTSTATUS err;
- g_return_val_if_fail(captive_image_iochannel!=NULL,FALSE);
+ g_return_val_if_fail(captive_options->image_iochannel!=NULL,FALSE);
cdrom_captive_DriverObject.DiskGeometry.BytesPerSector=2048;
cdrom_captive_DriverObject.DiskGeometry.MediaType=RemovableMedia;