Mmfwaitthread - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MmfWaitThread

Returns control when one of the following is established.
• The thread object becomes a signaled state.
• The timeout time elapses.
unsigned long MmfWaitThread (
HANDLE hThread,
unsigned long timeout
);
Detailed description
■Parameter
Value
hThread [in]
timeout [in]
■Return value
Value
MMC_OK
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_TIMEOUT_01
MMERR_WIN_WAIT_FOR_SINGLE_OBJECT
■Point
When MMC_INFINITE is designated as the timeout time, timeout is not checked. Instead, this function infinitely waits for the
thread object to become a signaled state.
■Supported version
API version
1.00
■Reference
MmfResumeThread (Page 120 MmfResumeThread)
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
118
3.8 Basic Library Functions
Description
Handle of the thread
Timeout time [ms] (0 to 65535)
Description
Function succeeded
The argument is outside the set range.
The set timeout time has elapsed.
An error occurred in the WaitForSingleObject function (Win32API). Call the GetLastError
function of Win32API and confirm the error details.
Software version
01

Advertisement

Table of Contents
loading

Table of Contents