Desktop Functions: Smart Device Functions:
|
CeCreateProcess (rapi)
rapi is for smart devices, not desktop Windows. Therefore, this information only applies to code using the .NET Compact Framework. To see if information for CeCreateProcess in other DLLs exists, click on Find References to the right. C# Signature:[DllImport("rapi.dll", CharSet = CharSet.Unicode, SetLastError = true)] internal extern static int CeCreateProcess(
string pszImageName, User-Defined Types:PROCESS_INFORMATION structure info at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcekernl/html/_ wcesdk_win32_PROCESS_INFORMATION_str.asp C# Definition:[StructLayout(LayoutKind.Sequential)] internal struct PROCESS_INFORMATION {
public IntPtr hProcess; } Notes:function info on msdn at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceactsy/html/cerefCeCreateProcessRAPI.asp Tips & Tricks:Please add some! Sample Code:
PROCESS_INFORMATION pi = new PROCESS_INFORMATION(); Alternative Managed API:OpenNETCF.Diagnostics at http://www.opennetcf.org
C# Example of the code you would use with openNETCF : Please edit this page!Do you have...
Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more). |
|