@msdn=http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceactsy/html/cerefCeRapiInitEx.asp @pinvoke=http://pinvoke.net/$$$.htm Summary: This function attempts to initialize the Windows CE remote application programming interface (RAPI) and initially returns an event handle !!!!C# Signature: [DllImport("rapi.dll")] public static extern void CeRapiInitEx(ref RAPIINIT pRapiInit); !!!!User-Defined Types: [StructLayout(LayoutKind.Sequential)] public struct RAPIINIT { public int cbsize; public IntPtr heRapiInit; public UInt32 hrRapiInit; }; !!!!Notes: HRESULT translates to void (NOT int or anything else some idiot has written down) for c# function prototypes. Any HRESULT other than "OK" will cause the runtime to throw an exception. function info on msdn at http://msdn.microsoft.com/en-us/library/aa458381.aspx !!!!Tips & Tricks: Please add some! !!!!Sample Code: RAPIINIT r = new RAPIINIT(); r.cbsize = Marshal.SizeOf(r); CeRapiInitEx(ref r); //r.hrRapiInit==0 indicates succes !!!!Alternative Managed API: Documentation: CeRapiInitEx@msdn on MSDN
Edit rapi.cerapiinitex
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.