Hallo All
I use Create file ,Writefile,Readfile to communicate with a usb device,After using Createfile successfully Writefile needs a pipe to the device .I tried Createpipe() to create anynoumous pipe and I binded his handle with Createfile handle with refrence.but it did not work.So How to bind my Createfile handle to this pipe or How to use Createnamedpipe to solve my problem?
P.s How to make right pipename from usbpath which I have ?
What I have tried:
Hanle *g,*f;
Handle h;
h=Createfile(...)
g=&h;
Createpipe(f,g,..)