Hello,
I am writing an application(with Delphi, based on 1394diag.sys and
1394api.dll)wich have to transfer data between 2 PC’s, but I didn’t
recieve any messages. Where is the data is written by the driver?
How can I directly get the Quadletdata from the Handle.
The array _ASYNC_READ.Data is always zero. WHAT IS WRONG???
May be my Callback is wrong? (I’ve made changes in C-Files and build a new
1394diag.sys to become a callback when written or Read)
pIrb->u.AllocateAddressRange.Callback =
t1394Diag_AllocateAddressRange_Callback;
pIrb->u.AllocateAddressRange.Context = deviceExtension;
void
t1394Diag_AllocateAddressRange_Callback(
IN PNOTIFICATION_INFO context
)
{
PDEVICE_EXTENSION deviceExtension = context;
ENTER(“t1394Diag_AllocateAddressRange_Callback”);
TRACE(TL_TRACE, (“Context = 0x%x\n”, Context));
EXIT(“t1394Diag_AllocateAddressRange_Callback”, STATUS_SUCCESS);
}//t1394Diag_AllocateAddressRange_Callback