SchedLogTranslate
This function enables a thread identifier or process identifier forwarded by the OAL logging functions to be converted into a Windows CE object handle.
void SchedLogTranslate(
DWORD dwThreadID,
HANDLE* pThreadHandle,
DWORD dwProcID,
HANDLE* pProcessHandle
);
Parameters
- dwThreadID
[in] Thread identifier provided by the OAL logging functions. - pThreadHandle
[out] Pointer to a handle that stores the thread handle upon return. If pThreadHandle is NULL, no thread translation occurs. - dwProcID
[in] Process identifier (ProcessID) provided by the OAL logging functions. - pProcessHandle
[out] Pointer to a handle that stores the process handle on return. If pProcessHandle is NULL, no process translation occurs.
Return Values
None.
Remarks
Call this function if the SCHEDLOG component has been linked into the kernel and you need to obtain a thread or process handle.
Requirements
OS Versions: Windows CE 2.10 and later.
Header: Schedlog.h.
Link Library: Schedlog.lib.
See Also
schedlog Component | Hardware-Assisted Profiling
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.