A parent process can specify properties associated with the main window of its child process. The CreateProcess function takes a pointer to a STARTUPINFO structure as one of its parameters. Use the members of this structure to specify characteristics of the child process's main window. The dwFlags member contains a bitfield that determines which other members of the structure are used. This allows you to specify values for any subset of the window properties. The system uses default values for the properties you do not specify. The dwFlags member can also force a feedback cursor to be displayed during the initialization of the new process.

CreateProcess 함수는 STARTUPINFO 구조체를 하나의 파라미터로 취할 수 있는데 STARTUPINFO는 새로 생성하는 프로세스의 속성을 결정할 수 있는 중요한 구조체이다. 

출처 : http://msdn.microsoft.com/en-us/library/windows/desktop/ms686285(v=vs.85).aspx


+ Recent posts