- ThreadQueryEntryPoint
-
- retcode
- reascode
- thread_ID
- entry_point_address
Purpose
Use the ThreadQueryEntryPoint function to obtain the entry point of the specified thread in the
caller's process. This function is primarily for use in obtaining diagnostic information.
Parameters
- retcode
- (output,INT,4) is a variable where the function stores the return code.
- reascode
- (output,INT,4) is a variable where the function stores the reason code.
- thread_ID
- (input,INT,4) is a variable for specifying the system-supplied identifier of the thread for
which the entry point address is to be obtained. A value of 0 may be used to represent the calling
thread.
- entry_point_address
- (output,INT,4) is a variable where the function returns the address of the instruction at which
the specified thread began execution.
Return Codes and Reason Codes
Return Code |
Reason Code |
Meaning |
vm_pro_success |
vm_pro_success |
ThreadQueryEntryPoint completed successfully |
vm_pro_error |
vm_pro_no_such_thread |
No thread in the calling thread's process has ID
thread_ID |
Programming Language Bindings
Language |
Language Binding File |
C |
VMCPRO H |
Assembler |
VMASMPRO MACRO |
REXX |
VMREXPRO COPY |