*
* libcaptive calls CcMapData() internally with @Bcb parameters.
*
+ * This function is called only by ntfs.sys of NT-5.1sp1 and it will perform
+ * these operations with the resulting #PUBLIC_BCB:
+ * CcRemapBcb(), CcSetDirtyPinnedData(), CcUnpinData()
+ *
+ * Untested: This call does not set the buffer as dirty - such buffer will not be flushed automatically.
+ *
* Returns: Copy of @Bcb. This _pointer_ never equals to @Bcb.
* It should be some different
* #PUBLIC_BCB structure according to W32 doc.
privbcb->FileObject, /* FileObject */
&privbcb->MappedFileOffset, /* FileOffset */
privbcb->MappedLength, /* Length */
- MAP_WAIT, /* Flags; && !MAP_NO_READ */
+ MAP_WAIT, /* Flags; FIXME: Is it OK to?: && !MAP_NO_READ */
&r, /* Bcb */
&Buffer_unused); /* Buffer */
g_return_val_if_fail(errbool==TRUE,NULL);