NWMUDS:InitializeWithVersion: Difference between revisions
		
		
		
		Jump to navigation
		Jump to search
		
No edit summary  | 
				|||
| Line 15: | Line 15: | ||
|-  | |-  | ||
| 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  | ||
Revision as of 02:38, 4 April 2016
Request
| Index Word | Description | 
|---|---|
| 0 | Header code [0x001B0302] | 
| 1 | Sharedmem size. | 
| 2-11 | See below 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 signalled for determining the event cause, etc. | 
Input Structure
| Index Word | Description | 
|---|---|
| 0-1 | u64 ID presumably used for the UDS consoleID. This is loaded from BlkID 0x00090000 in the system-config via CfgS:GetConfigInfoBlk2. | 
| 2-7 | This is the first 0x18-bytes from BlkID 0x000A0000 in the system-config loaded via CfgS:GetConfigInfoBlk2. | 
| 8-9 | Unused?(Not initialized by dlp module) | 
Description
This initializes NWMUDS.
The sharedmem is created with mypermission=0x0, otherpermission=0x3.