Hello,

I have found two functions to make radio on/off in windows mobile.
These are the native code(unmanaged) functions but i am developing small application in c#.net (managed code) for smartphone(framwork 3.5).
so i have to pinvoke these functions.
Please tell me how can i pinvoke these two functions mentioned below.

Thanks in advance,
Regards
Nisu.

LONG lineOpen (
HLINEAPP hLineApp,
DWORD dwDeviceID,
LPHLINE lphLine,
DWORD dwAPIVersion,
DWORD dwExtVersion,
DWORD dwCallbackInstance,
DWORD dwPrivileges,
DWORD dwMediaModes,
LPLINECALLPARAMS const lpCallParams
);


LONG WINAPI lineSetEquipmentState (
HLINE hLine,
DWORD dwState
);