#2078 shlobj.h is missing defines

WSL
pending
Earnie Boyd
None
Task
fixed
Feature_in_WSL_4.1
False
2014-10-17
2013-10-01
No

As outlined at [1] and [2], shlobj.h seems to be missing these defines:

#define BIF_NONEWFOLDERBUTTON 0x200
#define BIF_UAHINT 0x100

[1] http://sourceforge.net/mailarchive/message.php?msg_id=20318635
[2] http://comments.gmane.org/gmane.comp.gnu.mingw.user/43106

Discussion

  • Earnie Boyd
    Earnie Boyd
    2013-10-01

    • status: unread --> assigned
    • assigned_to: Earnie Boyd
    • Resolution: none --> later
    • Category: Unknown --> Feature_in_WSL_4.1
     
  • Earnie Boyd
    Earnie Boyd
    2013-10-01

    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,7 +1,9 @@
     As outlined at [1] and [2], shlobj.h seems to be missing these defines:
    
    +~~~~~
     #define BIF_NONEWFOLDERBUTTON 0x200
     #define BIF_UAHINT 0x100
    +~~~~~
    
     [1] http://sourceforge.net/mailarchive/message.php?msg_id=20318635
     [2] http://comments.gmane.org/gmane.comp.gnu.mingw.user/43106
    
     
  • Earnie Boyd
    Earnie Boyd
    2013-10-02

    • Group: OTHER --> WSL
    • Type: Bug --> Task
     
  • Earnie Boyd
    Earnie Boyd
    2013-10-02

    Implementing this I discovered definitions that were not filtered by OS version properly. I also resolved that issue. This means you must define your NTDDI_VERSION properly before including the headers to have these functions resolved. BIF_UAHINT and BIF_NONEWFOLDERBUTTON did not occur before WINXP so NTDDI_VERSION should be defined as 0x05010000.

     
  • Earnie Boyd
    Earnie Boyd
    2013-10-02

    • status: assigned --> pending
    • Resolution: later --> fixed
     
  • Earnie Boyd
    Earnie Boyd
    2013-10-02

    This has been fixed pending release of 4.1.