NWMUDS:InitializeWithVersion: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				|||
| (4 intermediate revisions by the same user not shown) | |||
| Line 12: | Line 12: | ||
|-  | |-  | ||
| 2-11  | | 2-11  | ||
|   | | Input [[NWM_Services|NodeInfo]] structure.  | ||
|-  | |-  | ||
| 12  | | 12  | ||
| u16 version. 0x400   | | u16 version. 0x400 is the latest one as of the latest NWM-module from [[9.0.0-20|9.0.0-X]].  | ||
|-  | |-  | ||
| 13  | | 13  | ||
| Line 40: | Line 40: | ||
|-  | |-  | ||
| 3  | | 3  | ||
| Output event handle. [[NWMUDS:GetConnectionStatus]] is used once this event is   | | Output event handle. [[NWMUDS:GetConnectionStatus]] is used once this event is signaled for determining the event cause, etc.  | ||
|}  | |}  | ||
| Line 62: | Line 46: | ||
This initializes NWMUDS.  | This initializes NWMUDS.  | ||
The sharedmem is created with mypermission=0x0, otherpermission=0x3.  | The sharedmem is created with mypermission=0x0, otherpermission=0x3. The only buffer(s) that are allocated under this sharedmem is the recv_buffer allocated by [[NWMUDS:Bind]].  | ||
Latest revision as of 17:05, 14 April 2016
Request
| Index Word | Description | 
|---|---|
| 0 | Header code [0x001B0302] | 
| 1 | Sharedmem size. | 
| 2-11 | Input NodeInfo structure. | 
| 12 | u16 version. 0x400 is the latest one as of the latest NWM-module from 9.0.0-X. | 
| 13 | Value 0x0 | 
| 14 | Sharedmem handle. | 
Response
| Index Word | Description | 
|---|---|
| 0 | Header code | 
| 1 | Result code | 
| 2 | Value 0x0 | 
| 3 | Output event handle. NWMUDS:GetConnectionStatus is used once this event is signaled for determining the event cause, etc. | 
Description
This initializes NWMUDS.
The sharedmem is created with mypermission=0x0, otherpermission=0x3. The only buffer(s) that are allocated under this sharedmem is the recv_buffer allocated by NWMUDS:Bind.