?? ucls_prn.h
字號(hào):
/*
//*************************************************************************
//
// P H I L I P S P R O P R I E T A R Y
//
// COPYRIGHT (c) 2000 BY PHILIPS SINGAPORE.
// -- ALL RIGHTS RESERVED --
//
// File Name: UCls_Prn.H
// Author: ZhenYu Zhang
// Created: Jun. 8, 2000
// Contact: hilbert.zhang@philips.com
// Modified:
// Revision: 0.0
//
//*************************************************************************
// Abstract:
//
//*************************************************************************
*/
#ifndef __USBCLASS_PRN_H__
#define __USBCLASS_PRN_H__
#define USBPRNXFER_DEV 0x00
#define USBPRNXFER_INTERFACE 0x01
#define USBPRN_REQUEST_GET_DEVID 0x00
#define USBPRN_REQUEST_GET_PORT_STATUS 0x01
#define USBPRN_REQUEST_SOFT_RESET 0x02
/***********************************************************/
BOOLEAN UsbPrnCls_GetDeviceID(
UCHAR DevAddr,
UCHAR Speed,
UCHAR PktSize,
USHORT ConfigIndex,
USHORT Interface,
USHORT wLength
);
BOOLEAN UsbPrnCls_GetPortStatus(
UCHAR DevAddr,
UCHAR Speed,
UCHAR PktSize,
USHORT Interface
);
BOOLEAN UsbPrnCls_SoftReset(
UCHAR DevAddr,
UCHAR Speed,
UCHAR PktSize,
USHORT Interface
);
void USBClass_print(SHORT hFile);
#endif
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -