- This topic has 2 replies, 3 voices, and was last updated 13 years, 11 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
Forums › TWAIN Classic › How to check FeederLoaded in VB.net
The documentation says that the hContainer structure has the returned value from the following check…
cap = New TwCapability(TwCap.FEEDERLOADED, TwOn.One, 1)
rc = DScap(appid, srcds, TwDG.Control, TwDAT.Capability, TwMSG.Get, cap)
the rc does succeed… but I cannot seem to find the returned value…
any suggestions?
The hContainer is a pointer to TW_OneValue structure you need to marshal the hContainer to TW_OneValue and read the Item member which is of boolean type this is the value you need.
can you expound on the marshalling of the TW_OneValue object (specifically to the bool example)?
Thanks!