Welcome![Sign In][Sign Up]
Location:
Search - CreateProcessAsUser

Search list

[Windows CECreateProcess

Description: wince下进程管理的实例程序,讲的比较详细,基本上对进程的一些操作都用到了-wince under examples of process management procedures, said more detailed, Basically some of the process are used in the operation
Platform: | Size: 18432 | Author: always18 | Hits:

[Windows DevelopCreateProcessAsUser

Description: Create process as user
Platform: | Size: 8192 | Author: Morela | Hits:

[OS programJobObject

Description: 通过windows的内核对象JobObject实现对程序的运行时间和内存使用的控制,开发初衷是作为一个简陋的acm判题沙箱. 大致步骤: 1.通过CreateJobObject创建一个工作对象 2.通过SetInformationJobObject设置工作对象的参数,详见MSDN(http://msdn.microsoft.com/zh-cn/library/ms686216) 3.以CREATE_SUSPENDED方式启动进程,通过CreateProcessAsUser或者CreateProcess函数,可能还有其他函数,未做研究. 4.通过AssignProcessToJobObject将工作对象应用到指定进程中. 5.通过ResumeThread恢复已暂停的进程. 6.通过WaitForSingleObject等待正在运行的工作对象,设置好允许使用时间. 7.通过QueryInformationJobObject获取工作对象的最终状态.运行程序的退出状态可以通过GetExitCodeProcess获取. 8.扫尾工作(必须使用TerminateJobObject结束当前的工作对象,因为工作对象即便设置了PerProcessUserTimeLimit也无法使程序在超时后退出,没有研究原因). 编译时请包含Kernel32.lib.-By the windows kernel objects JobObject control program run time and memory usage, originally developed as a rudimentary the acm sentenced Title sandbox. Roughly steps: 1. Through CreateJobObject create a work object 2. Through SetInformationJobObject set object parameters, see the MSDN (http://msdn.microsoft.com/zh-cn/library/ms686216) start the process to CREATE_SUSPENDED way through CreateProcessAsUser or CreateProcess function, may have other functions, without making research. by AssignProcessToJobObject work object applied to the specified process. 5. through ResumeThread recovery process has been suspended. 6. WaitForSingleObject to wait for running work object, set up to allow the use of time. through QueryInformationJobObject get the final state of the work objects run the program exit the state by GetExitCodeProcess get off the work (must use TerminateJobObject the end of the current work object, because the work object even set PerProcessUserTimeLimit can not make the prog
Platform: | Size: 1024 | Author: | Hits:

[Software EngineeringCreateProcessAsUser

Description: 主要的功能是创建用户使用的一个子进程,一般的子进程都是由system启动的,但是这个是当前用户启动的。-The main function is to create a user using a subset of the process, a subset of the general process is initiated by system, but this is the current user initiated.
Platform: | Size: 9216 | Author: hanfeng | Hits:

[Documents易语言系统服务源码

Description: Easy language system service source code, routine program calls API function, uses WTSSendMessage (sending information box), CreateProcessAsUser (create program interface) to penetrate Session 0 isolation, and solves the problem of interactive desktop authority.
Platform: | Size: 11264 | Author: ffffff23123131 | Hits:

CodeBus www.codebus.net