Mitsubishi Electronics SW2D5C-GTD2-E Frozen Dessert Maker User Manual


 
7.3 Internal Device Interface Function
7.3.4 GDev_CloseUnMapping (Unmapping and closing the internal device shared memory)
7 - 9
1
OVERVIEW
2
SYSTEM
CONFIGURATION
3
SPECIFICATIONS
4
SCREEN
CONFIGURATION
5
OPERATING
METHOD
6
FUNCTIONS
7
INTERNAL DEVICE
INTERFACE
FUNCTION
8
TROUBLESHOOTING
APPENDICES
7.3.4 GDev_CloseUnMapping (Unmapping and closing the internal device
shared memory)
The following shows details of the GDev_CloseUnMapping function.
(1) Function
Unmaps and closes the shared memory of the GOT internal device.
(2) Format
(a) For Visual C++
GDev_CloseUnMapping(hMapFile, ulMapPointer)
(b) For Visual Basic
GDev_CloseUnMapping(hMapFile, ulMapPointer)
(3) Explanation
The unmap processing is performed for the shared memory address specified by ulMapPointer and
the shared memory handle specified by hMapFile is released.
Specify the shared memory address and shared memory handle that have been obtained by the
GDev_OpenMapping function.
(4) Return value
None
(5) Precautions for using the GDev_CloseUnMapping function
After the GDev_OpenMapping function is called and required processings are performed, the
GDev_CloseUnMapping function must always be called.
If it is not called, a memory leak may result and an error such as application error may occur.
Variable name Variable type Description I/O
hMapFile HANDLE Shared memory handle Input
ulMapPointer unsigned long Shared memory address Input
Variable name Variable type Description I/O
hMapFile HANDLE Shared memory handle Input
ulMapPointer unsigned long Shared memory address Input