Attached are the .h file included with the Cisco 9.x tsp driver. I want these structures converted to c# in a dll that will work in both 32 and 64 bit. The dll should ideally return the correct size (32/64 bit) byte array of the structure specific with it's parameters. This will then be passed using TAPI LineDevSpecific to the selected phone. I have this working on the message lamp on /off in both 32 and 64 bit, but am struggling getting the whisper coaching to work on 64, as it returns a dwsize mismatch from the provider TSP. Please don't bid on this if you don't understand what is trying to be accomplished here. No generic resume posts, they will be ignored, show examples of your c++ and tapi knowledge instead.
Emample (existing c++)
class CCiscoLineDevSpecificMsgWaiting: public CCiscoLineDevSpecific
DWORD m_BlinkRate; // PHONELAMPMODE_STEADY, etc.
virtual DWORD dwSize(void) const
return sizeof(*this) - sizeof(void*);
} // subtract out the virtual function table pointer
(Convert to something like this)
public struct CiscoLineDevSpecificMsgWaiting
public IntPtr m_MsgType;
public IntPtr m_BlinkRate;
Please include all the enums(easy) so the settings can be accessed using them.
This contains the docs.