Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pid* values taken from \[MS-OXPROPS\].pdf. #124

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Nov 20, 2023

  1. Pid* values taken from \[MS-OXPROPS\].pdf.

    Ran PDFTOTEXT over it and then:
    
    grep -Pi '(?:Canonical name|Property ID):' MS-OXPROPS.txt  | grep -iPo '(?:Canonical name|Property ID).*' | grep 'Property ID' --before-context=1 > pid0
    
    Gives 573 entries the first being:
    
    spam7 ~/tnef 1066: head pid0
    Canonical name: The name used to refer to the property in the Exchange Server Protocols
    Property ID: An unsigned 16-bit quantity that identifies a tagged property. Property IDs are not
    --
    Canonical name: PidTagAccess
    Property ID: 0x0FF4
    
    cut -f2 -d':' pid0  | tail -n 1144 | sed -e :a -e '$!N;s/\n  *0/ 0/;ta' -e 'P;D'
    
    gives:
    
      PidTagWlinkSection 0x6852
     PidTagWlinkStoreEntryId 0x684E
     PidTagWlinkType 0x6849
    
     awk '{print $1 " = " $2}' pid1
     awk '{print $1 ": \"" $1 "\","}' pid1
    
    to get the correct bits
    pobicus committed Nov 20, 2023
    Configuration menu
    Copy the full SHA
    3ef7290 View commit details
    Browse the repository at this point in the history