Unified Controller nv-pack series typeFR Virtualization Functional Manual
41
3.3.3
VmsReadFromShmem
Interface
VmsReadFromShmem
– Read the data on the Station Global of the slot.
Prototype
BOOL VmsReadFromShmem
(HANDLE hDevice,DWORD dwOffset, DWORD dwSize,
LPBYTE lpBuf);
Description
hDevice : the handle taken with VmsCreateFile.
dwOffset : specify byte unit offset of the Station Global to be read
dwSize : specify word unit size of data on the Station Global to be read
lpBuf :
storage area for data to be read. The area size is required
larger than one specified by the dwSize.
Return value
Normal return is TRUE
Abnormal return is FALSE
Note
For shared memory, offset must be 4 byte alignment and size must be 2 words (4 bytes) unit.
3.3.3
VmsWriteToShmem
Interface
VmsWriteToShmem
– Write the data on the Station Global of the slot.
Prototype
BOOL VmsWriteToShmem
(HANDLE hDevice,DWORD dwOffset, DWORD dwSize,
LPBYTE lpBuf);
Description
hDevice : the handle taken with VmsCreateFile.
dwOffset : specify byte unit offset of the Station Global to be written
dwSize : specify word unit size of data on the Station Global to be
written
lpBuf :
storage area for data to be written. The area size is required
larger than one specified by the dwSize.
Return value
Normal return is TRUE
Abnormal return is FALSE
Note
For shared memory, offset must be 4 byte alignment and size must be 2 words (4 bytes) unit.
Summary of Contents for nv-pack
Page 1: ...Unified Controller nv pack Series typeFR Virtualization Functional Manual 6F8C1859 ...
Page 16: ...6F8C1379 xiv Appendix C Information 57 C 1 Station global memory map Windows 58 ...
Page 26: ...Chapter 1 General Specifications 6F8C1859 10 ...
Page 58: ...Chapter 3 Functions 6F8C1859 42 ...
Page 69: ...53 Appendix B Notes B 1 Time 54 B 2 System operation 56 ...
Page 73: ...57 Appendix C Information C 1 Station global memory map Windows 58 ...
Page 76: ...1859 2 1803 TOSHIBA INFRASTRUCTURE SYSTEMS SOLUTIONS CORPORATION ...