News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

Assoc* equates

Started by Gunner, January 26, 2010, 10:19:57 PM

Previous topic - Next topic

Gunner

Here are some more equate for your next version of windows.inc and winextra.inc the following equates weren't in my files so here ya go


;;;; ASSOCSTR
ASSOCSTR_COMMAND                         equ 1
ASSOCSTR_EXECUTABLE                      equ 2
ASSOCSTR_FRIENDLYDOCNAME equ 3
ASSOCSTR_FRIENDLYAPPNAME equ 4
ASSOCSTR_NOOPEN equ 5
ASSOCSTR_SHELLNEWVALUE equ 6
ASSOCSTR_DDECOMMAND equ 7
ASSOCSTR_DDEIFEXEC equ 8
ASSOCSTR_DDEAPPLICATION equ 9
ASSOCSTR_DDETOPIC equ 10

;;;; ASSOCF
ASSOCF_INIT_NOREMAPCLSID equ 1
ASSOCF_INIT_BYEXENAME equ 2
ASSOCF_OPEN_BYEXENAME equ 2
ASSOCF_INIT_DEFAULTTOSTAR equ 4
ASSOCF_INIT_DEFAULTTOFOLDER equ 8
ASSOCF_NOUSERSETTINGS equ 10
ASSOCF_NOTRUNCATE equ 20
ASSOCF_VERIFY equ 40
ASSOCF_REMAPRUNDLL equ 80
ASSOCF_NOFIXUPS equ 100
ASSOCF_IGNOREBASECLASS equ 200
~Rob (Gunner)
- IE Zone Editor
- Gunners File Type Editor
http://www.gunnerinc.com

hutch--

Rob,

Thansk for the additions, what I need to know to integrate them is what C include file did they come out of. This is becauase the construction of windows.inc and the attachment to it is done with nearly 50 files and growing and I need to know where to put the additional data.
Download site for MASM32      New MASM Forum
https://masm32.com          https://masm32.com/board/index.php

Wannabe

shlwapi.h
and the ASSOCF equates should be in hexadecimal
from shlwapi.h:

enum {
    ASSOCF_INIT_NOREMAPCLSID           = 0x00000001,  //  do not remap clsids to progids
    ASSOCF_INIT_BYEXENAME              = 0x00000002,  //  executable is being passed in
    ASSOCF_OPEN_BYEXENAME              = 0x00000002,  //  executable is being passed in
    ASSOCF_INIT_DEFAULTTOSTAR          = 0x00000004,  //  treat "*" as the BaseClass
    ASSOCF_INIT_DEFAULTTOFOLDER        = 0x00000008,  //  treat "Folder" as the BaseClass
    ASSOCF_NOUSERSETTINGS              = 0x00000010,  //  dont use HKCU
    ASSOCF_NOTRUNCATE                  = 0x00000020,  //  dont truncate the return string
    ASSOCF_VERIFY                      = 0x00000040,  //  verify data is accurate (DISK HITS)
    ASSOCF_REMAPRUNDLL                 = 0x00000080,  //  actually gets info about rundlls target if applicable
    ASSOCF_NOFIXUPS                    = 0x00000100,  //  attempt to fix errors if found
    ASSOCF_IGNOREBASECLASS             = 0x00000200,  //  dont recurse into the baseclass
};