0x0007 - SMB Server
0x8nn0 – Module Header
SubIndex | Type | Name | Value | Type | Access |
---|---|---|---|---|---|
00 | VAR | Len |
| UNSIGNED16 | read-only |
01 | VAR | Address | 0x0007 00nn | UNSIGNED32 | read-only |
02 | VAR | Type | SMB Server | VISIBLE STRING | read-only |
03 | VAR | Name | SMB Server | VISIBLE STRING | read-only |
04 | VAR | Dev type | 0x0007 2710 | UNSIGNED32 | read-only |
0x8nn1 - SMB Share Names
SubIndex | Type | Name | Type | Access |
---|---|---|---|---|
00 | VAR | Len | UNSIGNED16 | read-only |
01 .. Len | VAR | name 1 .. Len | VISIBLE STRING | read-only |
0x8nn2- SMB Path Names
SubIndex | Type | Name | Type | Access |
---|---|---|---|---|
00 | VAR | Len | UNSIGNED16 | read-only |
01 .. Len | VAR | Path 1 .. Len | VISIBLE STRING | read-only |
0x8nn3- Userlist
SubIndex | Type | Name | Type | Access |
---|---|---|---|---|
00 | VAR | Len | UNSIGNED16 | read-only |
01 .. Len | VAR | Username 1 .. Len | VISIBLE STRING | read-only |
0x8nn4- Access rights
SubIndex | Type | Name | Type | Access |
---|---|---|---|---|
00 | VAR | Len | UNSIGNED16 | read-only |
01 .. Len | VAR | Access right 1 .. Len | ARRAY [ ] OF UNSIGNED32 | read-only |
Access rights:
USER_DELETE 0 // deletes the specified user from the
ACL
SHARE_READ 10 // grant read Access
SHARE_CHANGE 20 // grant change Access
SHARE_FULL -1 // grant full Access
Under WinCE only USER_DELETE and SHARE_FULL access can be set.
Service transfer objects
0xBnn0 – Add Share (Service Transfer Object)
InputData | |
---|---|
Type |
Name |
UNSIGNED32 |
cbInputData |
UNSIGNED32 |
NameLen |
UNSIGNED32 |
PathLen |
char[NameLen] |
szName |
char[PathLen] |
szPath |
0xBnn1 – Del Share (Service Transfer Object)
InputData | |
---|---|
Type |
Name |
UNSIGNED32 |
NameLen |
Char[NameLen] |
ShareName |
0xBnn2 – Set user Access rights (Service Transfer Object)
InputData | |
---|---|
Type |
Name |
UNSIGNED32 |
ShareNameLen |
UNSIGNED32 |
UserNameLen |
UNSIGNED32 |
AccessRights |
Char[NameLen] |
ShareName |
Char[NameLen] |
UserName |