www.pudn.com > pCom.rar > def.h


#define GUID_CLASS_USBHUB \ 
{0xf18a0e88, 0xc30c, 0x11d0,{0x88, 0x15, 0x00, 0xa0, 0xc9, 0x06, 0xbe, 0xd8}} 
 
#define HUB_CLASS_STR_GUID		"#{f18a0e88-c30c-" 
 
/* A5DCBF10-6530-11D2-901F-00C04FB951ED */ 
#define GUID_CLASS_USB_DEVICE \ 
{0x4e1e1e15, 0x52d7, 0x11d4,{0x85, 0x2d, 0x00, 0x10, 0x5a, 0xa6, 0xf8, 0x0b}} 
 
// USB Modem 
#define GUID_DEVCLASS_MODEM \ 
{0xA5DCBF10, 0x6530, 0x11D2,{0x90, 0x1F, 0x00, 0xC0, 0x4F, 0xB9, 0x51, 0xED}} 
 
#define GUID_DEVCLASS_NETMON \ 
{0x2c7089aa, 0x2e0e, 0x11d1,{0xb1, 0x14, 0x00, 0xc0, 0x4f, 0xc2, 0xaa, 0xe4}} 
 
#define GUID_CLASS_MSD \ 
{0x53f56307, 0xb6bf, 0x11d0,{0x94, 0xf2, 0x00, 0xa0, 0xc9, 0x1e, 0xfb, 0x8b}} 
 
 
const UINT MAXSTR=256; 
const UINT MINBUF=128; 
const UINT BUF1K=1024; 
 
const int TDTK_SUCCESS	= 0; 
const int TDTK_FAIL		= -1; 
 
const int TEST_SUCCESSFUL = 0; 
const int TEST_FAILED     = 1; 
 
#include "dbt.h" 
#include "Setupapi.h" 
//#include "winioctl.h" 
#include "p2k_usb_defines.h"