阅读:1641回复:0
请高手指教:如何通过DLL来实现与驱动程序的通信
请教:
我用DriverStudio开发了一个W2K WMD 驱动程序,在主程序(MFC)中是用: HANDLE OpenByInterface( GUID* pClassGuid, // points to the GUID that identifies the interface class DWORD instance, // specifies which instance of the enumerated devices to open PDWORD pError // address of variable to receive error status ) 来打开设备的。 现在我想通过DLL来实现与驱动程序的通信,我试着用上述方法来实现,但好象DLL中不能与DriverStudio配合。 请高手指教:如何用DLL 实现 OpenByInterface 类似的功能。 |
|