Modify ↓
Opened 6 years ago
Closed 5 years ago
#3675 closed Feature Request (Completed)
$tagNETRESOURCE: Add constants
Reported by: | anonymous | Owned by: | Jpm |
---|---|---|---|
Milestone: | 3.3.15.4 | Component: | AutoIt |
Version: | Severity: | None | |
Keywords: | Cc: |
Description
Attachments (0)
Change History (5)
comment:1 Changed 6 years ago by c.haslam
comment:2 Changed 6 years ago by anonymous
c.haslam
comment:4 Changed 6 years ago by c.haslam
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 Changed 5 years ago by Jpm
- Milestone set to 3.3.15.4
- Owner set to Jpm
- Resolution set to Completed
- Status changed from new to closed
Added by revision [12329] in version: 3.3.15.4
Guidelines for posting comments:
- You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
- In-depth discussions should take place on the forum.
For more information see the full version of the ticket guidelines here.
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.