Modify

Opened 11 months ago

Last modified 11 months ago

#3675 new Feature Request

$tagNETRESOURCE: Add constants

Reported by: anonymous Owned by:
Milestone: Component: AutoIt
Version: Severity: None
Keywords: Cc:

Description


Attachments (0)

Change History (4)

comment:1 Changed 11 months ago by c.haslam

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 Changed 11 months ago by anonymous

c.haslam

comment:3 Changed 11 months ago by TicketCleanup

  • Version 3.3.14.5 deleted

Automatic ticket cleanup.

comment:4 Changed 11 months 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.

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.

Add Comment

Modify Ticket

Action
as new The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.