something like this...

Private Declare Function iotsvc_Open Lib "dll's
name.." (pulHandle as long, csTarget as char,
pLayout as iotlayout_t)

this probly won't work but it should look like this
u might have to play with it abit...