| 
			 20楼# 
								发布于:2009-03-02 20:42				
			我用ntddndis.h头文件的时候,出现错误,如下 
					我用这个头文件的时候,出现的错误是这样的d:\winddk\2600\inc\wxp\ntddndis.h(101) : error C2146: syntax error : missing ';' before identifier 'Offset' d:\winddk\2600\inc\wxp\ntddndis.h(101) : error C2501: 'ULONG_PTR' : missing storage-class or type specifiers d:\winddk\2600\inc\wxp\ntddndis.h(101) : error C2501: 'Offset' : missing storage-class or type specifiers 请问是什么原因啊?我用的是VC++6.0和DDK(XP版本的)  | 
	|
| 
			 21楼# 
								发布于:2009-03-11 09:18				
			
					已经做好了,解决了问题。				 
							 | 
	|
| 
			 22楼# 
								发布于:2009-05-31 17:51				
			
					各位大虾:  我最近在学习usb wlan 开发, 可是在  调用 IoCallDriver  的时候返回 错误代码: 0xC0000010,  找了很久, 没有找出原因, 请大虾们指教啊,       代码如下: 
							NTSTATUS usbwifiSubmitUrbSynch( IN PUSBWIFI_ADAPTER Adapter, IN PURB Urb ) { NTSTATUS status; PIRP irp; IO_STATUS_BLOCK ioStatus; KEVENT event; PIO_STACK_LOCATION irpStack; usbwifiDebugPrint(DBG_IO, DBG_INFO, __FUNCTION__"++"); KeInitializeEvent(&event, NotificationEvent, FALSE); irp = IoBuildDeviceIoControlRequest( IOCTL_INTERNAL_USB_SUBMIT_URB, //IOCTL_INTERNAL_USB_SUBMIT_URB, Adapter->LowerDeviceObject, NULL, 0, NULL, 0, TRUE, &event, &ioStatus ); if (irp != NULL) { irpStack = IoGetNextIrpStackLocation(irp); irpStack->Parameters.Others.Argument1 = Urb; status = IoCallDriver(Adapter->LowerDeviceObject, irp); if (status == STATUS_PENDING) { KeWaitForSingleObject( &event, Executive, KernelMode, FALSE, NULL ); status = ioStatus.Status; } } else { status = STATUS_INSUFFICIENT_RESOURCES; } usbwifiDebugPrint(DBG_IO, DBG_INFO, __FUNCTION__"--. STATUS %x", status); return status; }  | 
	|
					
						
  | 
	
| 
			 23楼# 
								发布于:2009-07-08 11:54				
			
					这个功能Windows已经帮我们全部做好了,你完全不需要自己写任何Protocol driver。你要做的,就是写个好的GUI,然后呼叫Native Wifi Functions。				 
							 | 
	|
上一页
下一页