Mmfcreatethread - Mitsubishi MR-EM340GF User Manual

Simple motion board
Table of Contents

Advertisement

MmfCreateThread

Creates thread.
unsigned long MmfCreateThread(
long priority,
unsigned long stackSize,
void *startAddress,
void *parameter,
HANDLE *hThread
);
Detailed description
■Parameter
Argument
priority [in]
stackSize [in]
startAddress [in]
parameter [in]
hThread [out]
■Return value
Value
MMC_OK
MMERR_ARGUMENT_0
=1 to 9: Argument location
MMERR_WIN_CREATE_THREAD
■Point
None.
■Supported version
API version
1.00
■Reference
MmfDeleteThread (Page 117 MmfDeleteThread)
3 API LIBRARY DETAILS (BASIC FUNCTIONS)
116
3.8 Basic Library Functions
Description
Thread priority value
Stack size [bytes]
Function of the thread
Argument of the thread
Pointer to the variable that stores the handle of the thread
Description
Function succeeded
The argument is outside the set range.
An error occurred in the CreateThread function (Win32API). Call the GetLastError function of
Win32API and confirm the error details.
Software version
01

Advertisement

Table of Contents
loading

Table of Contents