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 c.haslam, 7 years ago

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.

comment:2 by anonymous, 7 years ago

c.haslam

comment:3 by TicketCleanup, 7 years ago

Version: 3.3.14.5

Automatic ticket cleanup.

comment:4 by c.haslam, 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 J-Paul Mesnage, 6 years ago

Milestone: 3.3.15.4
Owner: set to J-Paul Mesnage
Resolution: Completed
Status: newclosed

Added by revision [12329] in version: 3.3.15.4

Modify Ticket

Action
as closed The owner will remain J-Paul Mesnage.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.