次の方法で共有


ICcConnection::GetProcessExitCode (Compact 2013)

3/26/2014

Deprecated.

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

In Windows Embedded Compact 2013, 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

See Also

Reference

ICcConnection
Core Connectivity Interfaces