MSDNに載ってた。
lFlags [in, optional]
- Type: Integer
 Integer that specifies one or more of the following flags:
- 0
 - Default. Performs a property search that is not case-sensitive, and returns an interpolated value if the property is found.
 - 1
 - Performs a case-sensitive property search. To find a match, the uppercase and lowercase letters in strAttributeName must exactly match those in the attribute name.
 - 2
 - Returns attribute value as a String. This flag does not work for event properties.
 - 4
 - Returns attribute value as a fully expanded URL. Only works for URL attributes.
 
lFlags [入力、任意]
- 型: Integer
 以下のフラグをひとつ以上指定する数値:
- 0
 - 初期値。大文字と小文字を区別せずにプロパティ検索を実施し、見つかれば記述された通りの値を返す。
 - 1
 - 大文字と小文字を区別してプロパティ検索を実施する。見つけるには、
strAttributeName(編註:第一引数)の大文字と小文字がその属性名と完全に合致する必要がある。 - 2
 - 文字列として属性値を返す。このフラグは
eventプロパティでは動作しない。 - 4
 - 完全に展開されたURLとして属性値を返す。URL属性でのみ動作する。
 
setAttribute()の方にもあるみたい。
あーIE独自だよって書いてないなあ。MDNやDOMの仕様では記述なし。まあいっか。
この記事で知りました。