ICcConnection::GetProcessExitCode (Windows CE 5.0)
This method returns the process exit code of a specified process.
HRESULT GetProcessExitCode( DWORDin_ProcessID,VARIANT_BOOL* out_pbProcessExited,DWORD*out_pdwProcessExited);
Parameters
- in_ProcessID
[in] The ID of the process to verify. - out_pbProcessExited
[out] The status of the process exit. - out_pdwProcessExited
[out] The exit code of the returned process.
Return Values
If the method fails, it returns an HRESULT error code.
If the method succeeds, it returns one of the following:
Value | Description |
---|---|
S_OK | Indicates the method call was successful. |
E_INVALIDARG | Indicates invalid arguments. |
Requirements
OS Version: Windows 2000, Windows XP Home, Windows XP Pro, Windows Server 2003, and Windows Server 2003 Service Pack 1.
Header: CcConnection.h.
Link Library: none.
See Also
Send Feedback on this topic to the authors