Partager via


IOsAxsThread::GetData (Windows Embedded CE 6.0)

1/5/2010

This method returns thread data.

Syntax

HRESULT GetData(
  DWORD* pdwId,
  DWORD* pdwHnd,
  DWORD* pdwPtr,
  IOsAxsProcess** ppiOsAxsOwningProc,
  BOOL* pfRunning,
  DWORD* pdwCpuNum
);

Parameters

  • pdwId
    [out] Pointer to the debugger thread identifier, which is an arbitrary 32-bit identifier that is not unique during execution.
  • pdwHnd
    [out] Pointer to the thread or kernel handle.
  • pdwPtr
    [out] Pointer to the thread kernel data structure address.

    If the data structure is not available, the value can be NULL.

  • piOsAxsProc
    [out] Pointer to the owning process.
  • pfRunning
    [out] Boolean value that returns TRUE if the thread was running when the debugging halt occurred.
  • pdwCpuNum
    [out] Pointer to the value of the CPU number running the thread.

    If the CPU number is not known, the value is -1.

Return Value

The following table shows return values for this method.

Value Description

S_OK

Indicates the function was successful.

E_FAIL

Indicates an unspecified failure.

Requirements

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

See Also

Reference

IOsAxsThread
IOsAxs Interfaces