Virtual Devices (3.1) (vdag31qh.hlp) (Table of Contents; Topic list)
DOSNET_Send_FILESYSCHANGE
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
include dosnet.inc
 
VxDcall DOSNET_Send_FILESYSCHANGE
 
The DOSNET_Send_FILESYSCHANGE service specifies whether the given drive is
local to the virtual machine. If the drive is local, the WM_FILESYSCHANGE
message can be broadcast to Windows applications when changes to the drive
are made by MS-DOS applications.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
AL         Specifies the drive number (0 = A, 1 = B, etc.)
 
EBX        Specifies the handle of the virtual machine to check.
 
Return Value
 
The carry flag is clear if the WM_FILESYSCHANGE message will be sent for the
specified drive. Otherwise, the carry flag is set to prevent messages for
the drive.
 
Comments
 
This service is designed exclusively for the virtual DOSNET device. Other
virtual devices should not provide their own implementations, however, they
can hook this service. Since the virtual DOSNET device does not install if
there is no redirector, a virtual device which hooks this service must ship
with a modified DOSNET device which always loads.
 
A virtual device must not send a WM_FILESYSCHANGE message for a drive that
this service has not acknowledged. Sending a message incorrectly can result
in unexpected errors in Windows applications.
 
Uses
 
Flags
 
                                      ♦