Page 1 of 1
GetDeviceStatus[Ex] usage
Posted:
Thu 4. Aug 2011, 09:56
by jla
The "result" out parameter of GetDeviceStatus is typed as void*; is there any documentation as to what it points to ?
Re: GetDeviceStatus[Ex] usage
Posted:
Thu 4. Aug 2011, 10:49
by IRTrans
Which API are you using?
IRTrans
Re: GetDeviceStatus[Ex] usage
Posted:
Thu 4. Aug 2011, 11:00
by jla
The C DLL.
Re: GetDeviceStatus[Ex] usage
Posted:
Thu 4. Aug 2011, 12:27
by IRTrans
GetDeviceStatus will return:
On Error
Return code != 0
NETWORKSTATUS is returned
On Success
Return code == 0
NETWORKMODE is returned
GetDeviceStatusExN will return:
On Error
Return code != 0
NETWORKSTATUS is returned
On Success
Return code == 0
NETWORKMODEEXN is returned
IRTrans
Re: GetDeviceStatus[Ex] usage
Posted:
Thu 4. Aug 2011, 13:42
by jla
OK, thanks. I assume the "features" field in the MODELINE struct is a bit mask; are there symbolic constants for it ?
Re: GetDeviceStatus[Ex] usage
Posted:
Thu 4. Aug 2011, 13:48
by IRTrans
The file "functioncodes.h" contains the bit constants. However, they are sometimes dependent on each other.
What are you looking for?
IRTrans
Re: GetDeviceStatus[Ex] usage
Posted:
Thu 4. Aug 2011, 14:11
by jla
Trying to know what kind of device is connected and its capabilities; that seems to be the right API.
Re: GetDeviceStatus[Ex] usage
Posted:
Wed 27. Jun 2012, 09:53
by Schaumschläger
Hey! functioncodes.h was the right file. I was also looking for a solution to see the connected devices. I would like to thank IRTrans for the short but efficiant help.
Best regards