Desktop Functions: Smart Device Functions:
|
SetProcessAffinityMask (kernel32)
C# Signature:
[DllImport("kernel32.dll")] User-Defined Types:None. Notes:Microsoft Example http://support.microsoft.com/default.aspx?scid=kb;EN-US;178650 Tips & Tricks:Please add some! Sample Code:C# //limit to one processor
IntPtr handle = Process.GetCurrentProcess().Handle; Alternative Managed API:System.Diagnostics.Process.ProcessorAffinity Property MSDN reference http://msdn2.microsoft.com/en-us/library/system.diagnostics.process.processoraffinity.aspx Do you know one? Please contribute it! 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). |
|