2.3
Function List
A list of the functions used by the API library is shown below.
Object generation functions
Category
Function name
Object generation
MmfCreateEM340GF
function
MmfCreatePciDevice
MmfCreateFunctionBlock
Basic library functions
Category
Function name
Error function
MmfGetLastError
Semaphore function
MmfCreateSemaphore
MmfDeleteSemaphore
MmfWaitSemaphore
MmfReleaseSemaphore
Event function
MmfCreateEvent
MmfDeleteEvent
MmfResetEvent
MmfSetEvent
MmfWaitEvent
Thread function
MmfCreateThread
MmfDeleteThread
MmfWaitThread
MmfSetThreadPriority
MmfResumeThread
MmfGetExitCodeThread
MmfExitThread
Timer function
MmfGetCurrentTime
MmfCheckPassTime
MmfWaitDelayTime
Description
Generates MMC_EM340GF class objects.
Generates PCI Express device driver class objects.
Generates function block class objects.
Description
Gets the error code.
Opens or creates the semaphore object.
Closes the handle of the semaphore object.
Returns control when the semaphore object becomes a signaled
state.
Increases the count of the semaphore object by one.
Opens or creates the event object.
Closes the handle of the event object.
Sets the event object to a nonsignaled state.
Sets the event object to a signaled state.
Returns control when the event object becomes a signaled state.
Creates the thread.
Closes the handle of the thread.
Returns control when the thread object becomes a signaled state.
Sets the priority value of the thread.
Decrements a thread's suspend count by one.
Gets the exit code of the thread.
Exits the thread.
Gets the time elapsed since system startup.
Checks the specified time has passed.
Cancels the execution of thread and specified time.
Reference
Page 102
MmfCreateEM340GF (C++)
Page 103
MmfCreateEM340GF (C#)
Page 104
MmfCreatePciDevice (C++)
Page 105
MmfCreatePciDevice (C#)
Page 195
MmfCreateFunctionBlock
Reference
Page 106 MmfGetLastError
Page 107
MmfCreateSemaphore
Page 108
MmfDeleteSemaphore
Page 109
MmfWaitSemaphore
Page 110
MmfReleaseSemaphore
Page 111 MmfCreateEvent
Page 112 MmfDeleteEvent
Page 113 MmfResetEvent
Page 114 MmfSetEvent
Page 115 MmfWaitEvent
Page 116 MmfCreateThread
Page 117 MmfDeleteThread
Page 118 MmfWaitThread
Page 119
MmfSetThreadPriority
Page 120
MmfResumeThread
Page 121
MmfGetExitCodeThread
Page 122 MmfExitThread
Page 123
MmfGetCurrentTime
Page 124
MmfCheckPassTime
Page 125
MmfWaitDelayTime
2 CLASS/FUNCTION LIST
2.3 Function List
2
27