This is the English forum for all topics related to IO-Warrior. Please post in English only

Moderator: Guido Körber

Beiträge: 12
Registriert: Fr Jul 09, 2010 11:15 am


Beitragvon eamo » Mo Sep 20, 2010 12:51 pm

In the documentation for IowKitCloseDevice it state that:
void IOWKIT_API IowKitCloseDevice(IOWKIT_HANDLE devHandle);
As of dynamic library version 1.4 the function ignores the parameter completely. Since it closes all
opened IO-Warriors anyway, there is no real need to check if the parameter is the IOWKIT_HANDLE
returned by IowKitOpenDevice().
The parameter is now only retained for compatibility and cleaner looking sources. If you handle only a
single IO-Warrior in your program then IowKitOpenDevice() and IowKitCloseDevice() look
and work as intuition suggests.
so the 'IOWKIT_HANDLE devHandle' parameter doesnt do anything? I need to be able to close devices individually, is there any way of doing this?
Christoph Jung
Beiträge: 581
Registriert: So Okt 08, 2006 3:43 pm
Wohnort: Germany / Berlin

Re: IowKitCloseDevice

Beitragvon Christoph Jung » Mo Sep 20, 2010 1:05 pm

Yes. You can close single devices. For this is the parameter.
Abteilung: Softwareentwicklung
Folge uns auf Twitter
Follow us on twitter

preparat alveo

Zurück zu „IO-Warrior English“

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast