Share via


IOsAxsGeneric::GetProcessByID (Windows Embedded CE 6.0)

1/5/2010

This method returns an interface for a process specified by identifier.

Syntax

HRESULT GetProcessByID(
  DWORD dwID,
  IOsAxsProcess** ppiOsAxsProcess
);

Parameters

  • dwID
    [in] Specified identifier.
  • ppiOsAxsProcess
    [out] Pointer to the requested process.

Return Value

The following table shows the return values for this method.

Value Description

S_OK

Indicates the function was successful.

E_INVALIDARG

Indicates one or more invalid arguments.

E_POINTER

Indicates one or more invalid pointers.

E_OUTOFMEMORY

Indicates an out of memory error.

E_ACCESSDENIED

Indicates the specified object is no longer valid.

E_FAIL

Indicates an unspecified failure.

Requirements

Header OsAccess.h
Library OSAXSC.lib
Windows Embedded CE Windows CE 5.0 and later

See Also

Reference

IOsAxsGeneric
IOsAxs Interfaces