What value to pass in “lpParams” of “lineDevSpecific” telephony application

V

vikku

Hello
Hello Everyone!!! I am working with windows Telephony application usin
panasonic TSP in that i am using extended functionality to change class o
service...I wrote a function which i

[DllImport("Tapi32.dll", CharSet = CharSet.Auto, SetLastError = true)
public static extern int lineDevSpecific
IntPtr hLine
IntPtr lpParam
)

Now i need to pass parametr(IntPtr lpParams)in the above function but i am no
getting what value to pass in second parameter.Any help will be highl
appreciated..Thanx in advance..
 
C

charlie

Hello,
Hello Everyone!!! I am working with windows Telephony application using
panasonic TSP in that i am using extended functionality to change class of
service...I wrote a function which is

[DllImport("Tapi32.dll", CharSet = CharSet.Auto, SetLastError = true)]
public static extern int lineDevSpecific(
IntPtr hLine,
IntPtr lpParams
);

Now i need to pass parametr(IntPtr lpParams)in the above function but i am not
getting what value to pass in second parameter.Any help will be highly
appreciated..Thanx in advance..
No Idea! This is not a programming forum.

However, MSDN does have Tapi related documentation, etc.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms734273(v=vs.85).aspx
 
E

Ed Cryer

charlie said:
Hello,
Hello Everyone!!! I am working with windows Telephony application using
panasonic TSP in that i am using extended functionality to change
class of
service...I wrote a function which is

[DllImport("Tapi32.dll", CharSet = CharSet.Auto, SetLastError = true)]
public static extern int lineDevSpecific(
IntPtr hLine,
IntPtr lpParams
);

Now i need to pass parametr(IntPtr lpParams)in the above function
but i am not
getting what value to pass in second parameter.Any help will be highly
appreciated..Thanx in advance..
No Idea! This is not a programming forum.

However, MSDN does have Tapi related documentation, etc.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms734273(v=vs.85).aspx
Never used that directly but I have used many calling macros with
parameter passing.
You have to make very sure that the params of the calling module match
those expected in the called one to a t.
Eg.
Called-module %A,%B,%C<%D,%E,%F,%G

If you want to use the default values apart from the last one, make sure
you have enough commas;
Call Called-module ,,,,,,123.

Ed
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top