#ifndef _NTPEBTEB_H
#define KACF_FTMFROMCURRENTAPT 0x00000020
View code on GitHubThis application compatibility flag used to be documented in early Windows 10 EWDK.
PEB->AppCompatFlagsIf set, a DCOM Free-Threaded-Marshaled Object has its' stub parked in the apartment that the object is marshaled from instead of the Neutral-Apartment. Having to set this bit indicates a busted App that is not following the rules for FTM objects. The app probably has other subtle problems that NT 4 or Win9x didn't show. Blindly using the ATL wizard to enable using the FTM is usually the source of the bug.
KACF_OLDGETSHORTPATHNAMEKACF_VERSIONLIE_NOT_USEDKACF_GETDISKFREESPACEKACF_DISALLOWORBINDINGCHANGESKACF_OLE32VALIDATEPTRSKACF_DISABLECICEROKACF_OLE32ENABLEASYNCDOCFILEKACF_OLE32ENABLELEGACYEXCEPTIONHANDLINGKACF_RPCDISABLENDRCLIENTHARDENINGKACF_RPCDISABLENDRMAYBENULL_SIZEISKACF_DISABLEALLDDEHACK_NOT_USEDKACF_RPCDISABLENDR61_RANGEKACF_RPC32ENABLELEGACYEXCEPTIONHANDLINGKACF_OLE32DOCFILEUSELEGACYNTFSFLAGSKACF_RPCDISABLENDRCONSTIIDCHECKKACF_USERDISABLEFORWARDERPATCHKACF_OLE32DISABLENEW_WMPAINT_DISPATCHKACF_ADDRESTRICTEDSIDINCOINITIALIZESECURITYKACF_ALLOCDEBUGINFOFORCRITSECTIONSKACF_OLEAUT32ENABLEUNSAFELOADTYPELIBRELATIVEKACF_ALLOWMAXIMIZEDWINDOWGAMMAKACF_DONOTADDTOCACHE