usbioctl.h in cy7c68013Host.rar


BulkIn from the USB port read 512 bytes of data, stored in binary files in binar...Original Link
    Sponsored links

			
/*++

Copyright (c) 1998-99      Microsoft Corporation

Module Name:

        USBIOCTL.H

Abstract:

   structures common to the USBD and USB device drivers.

Environment:

    Kernel & user mode

Revision History:

    09-29-95 : created
    01-06-97 : added user mode hub ioctls

--*/

#ifndef   __USBIOCTL_H__
#define   __USBIOCTL_H__

#include "usb100.h"

#ifndef FAR
#define FAR
#endif

/* f18a0e88-c30c-11d0-8815-00a0c906bed8 */
DEFINE_GUID( GUID_CLASS_USBHUB,    0xf18a0e88, 0xc30c, 0x11d0, 0x88, 0x15, 0x00, \
             0xa0, 0xc9, 0x06, 0xbe, 0xd8);

/* A5DCBF10-6530-11D2-901F-00C04FB951ED */
DEFINE_GUID(GUID_CLASS_USB_DEVICE, 0xA5DCBF10L, 0x6530, 0x11D2, 0x90, 0x1F, 0x00, \
             0xC0, 0x4F, 0xB9, 0x51, 0xED);

/* 4E623B20-CB14-11D1-B331-00A0C959BBD2 */
DEFINE_GUID(GUID_USB_WMI_STD_DATA, 0x4E623B20L, 0xCB14, 0x11D1, 0xB3, 0x31, 0x00,\
             0xA0, 0xC9, 0x59, 0xBB, 0xD2);

/* 4E623B20-CB14-11D1-B331-00A0C959BBD2 */
DEFINE_GUID(GUID_USB_WMI_STD_NOTIFICATION, 0x4E623B20L, 0xCB14, 0x11D1, 0xB3, 0x31, 0x00,\
             0xA0, 0xC9, 0x59, 0xBB, 0xD2);             


#define FILE_DEVICE_USB         FILE_DEVICE_UNKNOWN

/*
   USB IOCTLS
*/

#define USB_IOCTL_INTERNAL_INDEX       0x0000
#define USB_IOCTL_INDEX                0x00ff

/*
   USB Internal IOCtls
*/

/* IOCTL_INTERNAL_USB_SUBMIT_URB

   This IOCTL is used by client drivers to submit URB (USB Request Blocks)

   Parameters.Others.Argument1 = pointer to URB

*/

#define IOCTL_INTERNAL_USB_SUBMIT_URB  CTL_CODE(FILE_DEVICE_USB,  \
                                                USB_IOCTL_INTERNAL_INDEX,  \
                                                METHOD_NEITHER,  \
                                                FILE_ANY_ACCESS)


/* IOCTL_INTERNAL_USB_RESET_PORT
*/

#define IOCTL_INTERNAL_USB_RESET_PORT  CTL_CODE(FILE_DEVICE_USB,  \
                                                USB_IOCTL_INTERNAL_INDEX+1, \
                                              			

			...
			...
			... to be continued.

  This is a preview. To get the complete source file, 
  please click here to download the whole source code package.

			
			


Project Files

    Sponsored links
NameSizeDate
 <CY7C68013主机程序>0.00 B11-08-07 08:46
 <BulkIn>0.00 B11-08-07 08:45
 BulkIn.txt512.00 B20-01-07 16:27
 Cpp2.cpp2.23 kB22-10-06 18:39
 Cpp2.dsp3.30 kB22-10-06 16:34
 Cpp2.dsw531.00 B22-10-06 16:35
 Cpp2.ncb49.00 kB20-01-07 16:30
 Cpp2.opt47.50 kB20-01-07 16:30
 Cpp2.plg1.07 kB24-10-06 08:40
 <Debug>0.00 B11-08-07 08:45
 ezusbsys.h34.46 kB14-07-02 10:26
 usb100.h7.46 kB27-07-00 22:13
 usbdi.h25.91 kB27-07-00 22:13
 usbdriver.h4.28 kB24-11-05 16:27
 usbioctl.h19.06 kB27-07-00 22:13
 <BulkOut>0.00 B11-08-07 08:48
 <BulkOut.txt>0.00 B24-10-06 11:27
 <BulkOut.txt.bak>0.00 B24-10-06 10:08
 Cpp2.cpp2.94 kB11-08-07 08:48
 Cpp2.dsp3.30 kB22-10-06 16:34
 Cpp2.dsw533.00 B15-12-06 10:38
 Cpp2.ncb57.00 kB11-08-07 08:48
 Cpp2.opt185.50 kB11-08-07 08:48
 Cpp2.plg1.41 kB11-08-07 08:48
 <Debug>0.00 B11-08-07 08:48
 ezusbsys.h34.46 kB14-07-02 10:26
 plaintext1.txt59.07 kB01-03-07 10:18
 usb100.h7.46 kB27-07-00 22:13
 usbdi.h25.91 kB27-07-00 22:13
 usbdriver.h4.28 kB24-11-05 16:27
 usbioctl.h19.06 kB27-07-00 22:13
...

Related Items

    Sponsored links