Поделиться через


ICcConnection::GetProcessExitCode (Windows Embedded CE 6.0)

1/5/2010

This method returns the process exit code of a specified process.

In Windows Embedded CE 6.0, CoreCon HLAPI has been deprecated.

Syntax

HRESULT GetProcessExitCode(
  DWORD in_ProcessHandle,
  VARIANT_BOOL* out_pbProcessExited,
  DWORD* out_pdwProcessExited
);

Parameters

  • in_ProcessID
    [in] Handle to the process to verify.
  • out_pbProcessExited
    [out] Status of the process exit.
  • out_pdwProcessExited
    [out] Exit code of the returned process.

Return Value

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

Header ccconnection.h
Windows Windows 2000, Windows Server 2003, Windows Server 2003 Service Pack 1, Windows XP Home, Windows XP Pro
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

ICcConnection
Core Connectivity Interfaces