1,059 bytes added
, 11:02, 22 February 2017
This is the shared-memory for [[IR_Services|"ir:USER"]], which is provided by the application via [[IRUSER:InitializeIrnop|InitializeIrnop]] or [[IRUSER:InitializeIrnopShared|InitializeIrnopShared]]. The size of the shared memory is determined by parameters of the Init functions above.
=Overall Structure=
The shared memory consists of 2 or 5 components, depending on which Init function is called. For InitializeIrnopShared, ir service puts more information to the shared memory and applications can read it directly; for InitializeIrnop, ir service puts less information and store the rest in its local storage. All these components are adjacent to each other.
{| class="wikitable" border="1"
|-
! Size
! Description
|-
| 0x10
| StatusInfo. Only presents when InitializeIrnopShared is called
|-
| 0x10
| ReceiveBufferInfo. Only presents when InitializeIrnopShared is called
|-
| (specified by Init paramter)
| ReceiveBuffer
|-
| 0x10
| SendBufferInfo. Only presents when InitializeIrnopShared is called
|-
| (specified by Init paramter)
| SendBuffer
|}