- This topic has 2 replies, 3 voices, and was last updated 17 years, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
The TWAIN Resource site is designed to help TWAIN users and prospective users find resources in the community for TWAIN-related products and services. Become a member.
Home › 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!