Modify ↓
Opened 7 years ago
Closed 6 years ago
#3675 closed Feature Request (Completed)
$tagNETRESOURCE: Add constants
| Reported by: | anonymous | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| Milestone: | 3.3.15.4 | Component: | AutoIt |
| Version: | Severity: | None | |
| Keywords: | Cc: |
Description
Attachments (0)
Change History (5)
comment:1 by , 7 years ago
comment:4 by , 7 years ago
The 2 that have the same value should perhaps be ignored for another reason: MSDN says that they are for XP and earlier.
comment:5 by , 6 years ago
| Milestone: | → 3.3.15.4 |
|---|---|
| Owner: | set to |
| Resolution: | → Completed |
| Status: | new → closed |
Added by revision [12329] in version: 3.3.15.4
Note:
See TracTickets
for help on using tickets.

The following constants appear to be missing from WinNet.au3:
; DisplayType
Global Const $RESOURCEDISPLAYTYPE_GENERIC = 0x00000000
Global Const $$RESOURCEDISPLAYTYPE_DOMAIN = 0x00000001
Global Const $RESOURCEDISPLAYTYPE_SERVER = 0x00000002
Global Const $RESOURCEDISPLAYTYPE_SHARE = 0x00000003
Global Const $RESOURCEDISPLAYTYPE_FILE = 0x00000004
Global Const $RESOURCEDISPLAYTYPE_GROUP = 0x00000005
Global Const $RESOURCEDISPLAYTYPE_NETWORK = 0x00000006
Global Const $RESOURCEDISPLAYTYPE_ROOT = 0x00000007
Global Const $RESOURCEDISPLAYTYPE_SHAREADMIN = 0x00000008
Global Const $RESOURCEDISPLAYTYPE_DIRECTORY = 0x00000009
I copied them from https://msdn.microsoft.com/en-us/library/windows/desktop/aa385353(v=vs.85).aspx
There are two more there, but they have the same value (which I find surprising):
Global Const $RESOURCEDISPLAYTYPE_TREE = 0x0000000A
Global Const $RESOURCEDISPLAYTYPE_NDSCONTAINER = 0x0000000A
Perhaps these two should not be added for this reason.