windows-nt/Source/XPSP1/NT/multimedia/media/avi/inc.16/pif.inc

506 lines
11 KiB
PHP
Raw Normal View History

2020-09-26 03:20:57 -05:00
ifndef _INC_PIF
_INC_PIF EQU 1
PIFNAMESIZE EQU 30
PIFSTARTLOCSIZE EQU 63
PIFDEFPATHSIZE EQU 64
PIFPARAMSSIZE EQU 64
PIFSHPROGSIZE EQU 64
PIFSHDATASIZE EQU 64
PIFDEFFILESIZE EQU 80
ifndef LF_FACESIZE
LF_FACESIZE EQU 32
endif
LARGEST_GROUP EQU SIZE STDPIF
OPENPROPS_NONE EQU 0000H
OPENPROPS_RAWIO EQU 0001H
GETPROPS_NONE EQU 0000H
GETPROPS_RAWIO EQU 0001H
GETPROPS_EXTENDED EQU 0004H
SETPROPS_NONE EQU 0000H
SETPROPS_RAWIO EQU 0001H
SETPROPS_CACHE EQU 0002H
SETPROPS_EXTENDED EQU 0004H
FLUSHPROPS_NONE EQU 0000H
FLUSHPROPS_DISCARD EQU 0001H
CLOSEPROPS_NONE EQU 0000H
CLOSEPROPS_DISCARD EQU 0001H
LOADPROPLIB_DEFER EQU 0001H
ifdef RECT
_INC_WINDOWS EQU 1
endif
ifndef _INC_WINDOWS
RECT struc
rcLeft dw ?
rcTop dw ?
rcRight dw ?
rcBottom dw ?
RECT ends
endif
GROUP_PRG EQU 1
PRG_DEFAULT EQU <(PRG_CLOSEONEXIT OR PRG_AUTOWINEXEC)>
PRG_CLOSEONEXIT EQU 0001H
PRG_AUTOWINEXEC EQU 0004H
PRGINIT_DEFAULT EQU 0
PRGINIT_MINIMIZED EQU 0001H
PRGINIT_MAXIMIZED EQU 0002H
PRGINIT_USEPIFICON EQU 0004H
PRGINIT_REALMODE EQU 0008H
PRGINIT_NOPIF EQU 1000H
PRGINIT_DEFAULTPIF EQU 2000H
ICONFILE_DEFAULT EQU <"PIFMGR.DLL">
ICONINDEX_DEFAULT EQU 0
PROPPRG STRUC
flPrg DW ?
flPrgInit DW ?
achTitle DB PIFNAMESIZE DUP (?)
achCmdLine DB PIFSTARTLOCSIZE DUP (?)
achWorkDir DB PIFDEFPATHSIZE DUP (?)
wHotKey DW ?
rgbReserved DB 6 DUP (?)
achIconFile DB PIFDEFFILESIZE DUP (?)
wIconIndex DW ?
achPIFFile DB PIFDEFFILESIZE DUP (?)
PROPPRG ENDS
GROUP_TSK EQU 2
TSK_DEFAULT EQU <(TSK_BACKGROUND)>
TSK_ALLOWCLOSE EQU 0001H
TSK_BACKGROUND EQU 0002H
TSK_EXCLUSIVE EQU 0004H
TSK_FAKEBOOST EQU 0008H
TSK_NOWARNTERMINATE EQU 0010H
TSK_NOSCREENSAVER EQU 0020H
TSKINIT_DEFAULT EQU 0
TSKFGND_DEFAULT EQU 75
TSKBGND_DEFAULT EQU 25
TSKFGND_OLD_DEFAULT EQU 100
TSKBGND_OLD_DEFAULT EQU 50
TSKBOOSTTIME_MIN EQU 0
TSKBOOSTTIME_DEFAULT EQU 1
TSKBOOSTTIME_MAX EQU 5000
TSKIDLEDELAY_MIN EQU 0
TSKIDLEDELAY_DEFAULT EQU 500
TSKIDLEDELAY_MAX EQU 5000
TSKIDLESENS_DEFAULT EQU 50
PROPTSK STRUC
flTsk DW ?
flTskInit DW ?
iFgndBoost DW ?
iBgndBoost DW ?
msKeyBoostTime DW ?
msKeyIdleDelay DW ?
wIdleSensitivity DW ?
PROPTSK ENDS
GROUP_VID EQU 3
VID_DEFAULT EQU <(VID_TEXTEMULATE OR VID_FULLSCREENGRFX OR VID_AUTOSUSPEND)>
VID_TEXTEMULATE EQU 0001H
VID_TEXTTRAP EQU 0002H
VID_LOGRFXTRAP EQU 0004H
VID_HIGRFXTRAP EQU 0008H
VID_RETAINMEMORY EQU 0080H
VID_FULLSCREEN EQU 0100H
VID_FULLSCREENGRFX EQU 0200H
VIDINIT_DEFAULT EQU 0
VIDMODE_DEFAULT EQU <VIDMODE_TEXT>
VIDMODE_TEXT EQU 1
VIDMODE_LOGRFX EQU 2
VIDMODE_HIGRFX EQU 3
VIDSCROLLFREQ_MIN EQU 1
VIDSCROLLFREQ_DEFAULT EQU 2
VIDSCROLLFREQ_MAX EQU 25
VIDUPDATEFREQ_MIN EQU 10
VIDUPDATEFREQ_DEFAULT EQU 50
VIDUPDATEFREQ_MAX EQU 5000
VIDSCREENLINES_MIN EQU 0
VIDSCREENLINES_DEFAULT EQU 0
PROPVID STRUC
flVid DW ?
flVidInit DW ?
iVidMode DW ?
cScrollFreq DW ?
msUpdateFreq DW ?
cScreenLines DW ?
abTextColorRemap DB 16 DUP (?)
PROPVID ENDS
GROUP_MEM EQU 4
MEM_DEFAULT EQU 0
MEMINIT_DEFAULT EQU 0
MEMINIT_NOHMA EQU 0001H
MEMINIT_LOWLOCKED EQU 0002H
MEMINIT_EMSLOCKED EQU 0004H
MEMINIT_XMSLOCKED EQU 0008H
MEMINIT_GLOBALPROTECT EQU 0010H
MEMINIT_STRAYPTRDETECT EQU 0020H
MEMLOW_MIN_MIN EQU 0FFFFH
MEMLOW_MIN_DEFAULT EQU 0
MEMLOW_MIN_MAX EQU 640
MEMLOW_MAX_MIN EQU 0FFFFH
MEMLOW_MAX_DEFAULT EQU 0FFFFH
MEMLOW_MAX_MAX EQU 640
MEMEMS_MIN_MIN EQU 0
MEMEMS_MIN_DEFAULT EQU 0
MEMEMS_MIN_MAX EQU 16384
MEMEMS_MAX_MIN EQU 0FFFFH
MEMEMS_MAX_DEFAULT EQU 1024
MEMEMS_MAX_MAX EQU 16384
MEMXMS_MIN_MIN EQU 0
MEMXMS_MIN_DEFAULT EQU 0
MEMXMS_MIN_MAX EQU 16384
MEMXMS_MAX_MIN EQU 0FFFFH
MEMXMS_MAX_DEFAULT EQU 1024
MEMXMS_MAX_MAX EQU 16384
PROPMEM STRUC
flMem DW ?
flMemInit DW ?
wMinLow DW ?
wMaxLow DW ?
wMinEMS DW ?
wMaxEMS DW ?
wMinXMS DW ?
wMaxXMS DW ?
PROPMEM ENDS
GROUP_KBD EQU 5
KBD_DEFAULT EQU <(KBD_FASTPASTE)>
KBD_FASTPASTE EQU 0001H
KBD_NOALTTAB EQU 0020H
KBD_NOALTESC EQU 0040H
KBD_NOALTSPACE EQU 0080H
KBD_NOALTENTER EQU 0100H
KBD_NOALTPRTSC EQU 0200H
KBD_NOPRTSC EQU 0400H
KBD_NOCTRLESC EQU 0800H
KBDINIT_DEFAULT EQU 0
KBDALTDELAY_MIN EQU 1
KBDALTDELAY_DEFAULT EQU 5
KBDALTDELAY_MAX EQU 5000
KBDALTPASTEDELAY_MIN EQU 1
KBDALTPASTEDELAY_DEFAULT EQU 25
KBDALTPASTEDELAY_MAX EQU 5000
KBDPASTEDELAY_MIN EQU 1
KBDPASTEDELAY_DEFAULT EQU 3
KBDPASTEDELAY_MAX EQU 5000
KBDPASTEFULLDELAY_MIN EQU 1
KBDPASTEFULLDELAY_DEFAULT EQU 200
KBDPASTEFULLDELAY_MAX EQU 5000
KBDPASTETIMEOUT_MIN EQU 1
KBDPASTETIMEOUT_DEFAULT EQU 1000
KBDPASTETIMEOUT_MAX EQU 5000
KBDPASTESKIP_MIN EQU 1
KBDPASTESKIP_DEFAULT EQU 2
KBDPASTESKIP_MAX EQU 100
KBDPASTECRSKIP_MIN EQU 1
KBDPASTECRSKIP_DEFAULT EQU 10
KBDPASTECRSKIP_MAX EQU 100
PROPKBD STRUC
flKbd DW ?
flKbdInit DW ?
msAltDelay DW ?
msAltPasteDelay DW ?
msPasteDelay DW ?
msPasteFullDelay DW ?
msPasteTimeout DW ?
cPasteSkip DW ?
cPasteCRSkip DW ?
PROPKBD ENDS
GROUP_MSE EQU 6
MSE_DEFAULT EQU <(MSE_WINDOWENABLE)>
MSE_WINDOWENABLE EQU 0001H
MSE_EXCLUSIVE EQU 0002H
MSEINIT_DEFAULT EQU 0
PROPMSE STRUC
flMse DW ?
flMseInit DW ?
PROPMSE ENDS
GROUP_TMR EQU 7
TMR_DEFAULT EQU 0
TMR_TRAPTMRPORTS EQU 0001H
TMR_FULLBGNDTICKS EQU 0002H
TMR_BURSTMODE EQU 0004H
TMR_PATCHEOI EQU 0008H
TMRINIT_DEFAULT EQU 0
TMRBURSTDELAY_MIN EQU 0
TMRBURSTDELAY_DEFAULT EQU 0
TMRBURSTDELAY_MAX EQU 100
PROPTMR STRUC
flTmr DW ?
flTmrInit DW ?
wBurstDelay DW ?
PROPTMR ENDS
PROPTMREXT STRUC
tmrData DB SIZE PROPTMR DUP (?)
msIntFreq DW ?
wExecPercent DW ?
PROPTMREXT ENDS
GROUP_FNT EQU 11
FNT_DEFAULT EQU <(FNT_BOTHFONTS)>
FNT_RASTERFONTS EQU 0004H
FNT_TTFONTS EQU 0008H
FNT_BOTHFONTS EQU (FNT_RASTERFONTS OR FNT_TTFONTS)
FNT_AUTOSIZE EQU 0010H
FNT_RASTER EQU 0400H
FNT_TT EQU 0800H
FNT_FONTMASK EQU (FNT_BOTHFONTS)
FNT_FONTMASKBITS EQU 2
FNTINIT_DEFAULT EQU 0
FNTINIT_NORESTORE EQU 0001H
PROPFNT STRUC
flFnt DW ?
flFntInit DW ?
cxFont DW ?
cyFont DW ?
cxFontActual DW ?
cyFontActual DW ?
achRasterFaceName DB LF_FACESIZE DUP (?)
achTTFaceName DB LF_FACESIZE DUP (?)
ifdef JAPAN
wCharSet DW ?
endif
PROPFNT ENDS
GROUP_WIN EQU 12
WIN_DEFAULT EQU <(WIN_SAVESETTINGS)>
WIN_SAVESETTINGS EQU 0001H
WIN_TOOLBAR EQU 0002H
WININIT_DEFAULT EQU 0
WININIT_NORESTORE EQU 0001H
PROPWIN STRUC
flWin DW ?
flWinInit DW ?
cxCells DW ?
cyCells DW ?
cxClient DW ?
cyClient DW ?
cxWindow DW ?
cyWindow DW ?
ifdef WPF_SETMINPOSITION
wp DB SIZE WINDOWPLACEMENT DUP (?)
else
wLength DW ?
wShowFlags DW ?
wShowCmd DW ?
xMinimize DW ?
yMinimize DW ?
xMaximize DW ?
yMaximize DW ?
rcNormal DB SIZE RECT DUP (?)
endif
PROPWIN ENDS
GROUP_ENV EQU 13
ENV_DEFAULT EQU 0
ENVINIT_DEFAULT EQU <(ENVINIT_INSTRUCTIONS)>
ENVINIT_INSTRUCTIONS EQU 0001H
ENVSIZE_MIN EQU 0
ENVSIZE_DEFAULT EQU 0
ENVSIZE_MAX EQU 4096
PROPENV STRUC
flEnv DW ?
flEnvInit DW ?
achBatchFile DB PIFDEFFILESIZE DUP (?)
cbEnvironment DW ?
ifdef JAPAN
wCodePage DW ?
wInitCodePage DW ?
endif
PROPENV ENDS
MAX_GROUP EQU 0FFH
MAX_VALID_GROUP EQU GROUP_ENV
EXT_GROUP_QUERY EQU 100H
EXT_GROUP_UPDATE EQU 200H
PIFEXTSIGSIZE EQU 16
MAX_GROUP_NAME EQU PIFEXTSIGSIZE
STDHDRSIG EQU <"MICROSOFT PIFEX">
LASTHDRPTR EQU 0FFFFH
W286HDRSIG30 EQU <"WINDOWS 286 3.0">
W386HDRSIG30 EQU <"WINDOWS 386 3.0">
WENHHDRSIG40 EQU <"WINDOWS PIF.402">
WENHICOSIG001 EQU <"WINDOWS ICO.001">
PIFEXTHDR STRUC
extsig DB PIFEXTSIGSIZE DUP (?)
extnxthdrfloff DW ?
extfileoffset DW ?
extsizebytes DW ?
PIFEXTHDR ENDS
fResident EQU 01H
fGraphics EQU 02H
fNoSwitch EQU 04H
fNoGrab EQU 08H
fDestroy EQU 10H
fCOM2 EQU 40H
fCOM1 EQU 80H
MEMMASK EQU fResident
GRAPHMASK EQU fGraphics
TEXTMASK EQU ((NOT GRAPHMASK))
PSMASK EQU fNoSwitch
SGMASK EQU fNoGrab
EXITMASK EQU fDestroy
COM2MASK EQU fCOM2
COM1MASK EQU fCOM1
fScreen EQU 80H
fForeground EQU 40H
f8087 EQU 20H
fKeyboard EQU 10H
SCRMASK EQU (fScreen+fForeground)
MASK8087 EQU f8087
KEYMASK EQU fKeyboard
SWAPMASK EQU 20H
PARMMASK EQU 40H
STDPIF STRUC
unknown DB ?
id DB ?
appname DB PIFNAMESIZE DUP (?)
maxmem DW ?
minmem DW ?
startfile DB PIFSTARTLOCSIZE DUP (?)
MSflags DB ?
reserved DB ?
defpath DB PIFDEFPATHSIZE DUP (?)
params DB PIFPARAMSSIZE DUP (?)
screen DB ?
cPages DB ?
lowVector DB ?
highVector DB ?
rows DB ?
cols DB ?
rowoff DB ?
coloff DB ?
sysmem DW ?
shprog DB PIFSHPROGSIZE DUP (?)
shdata DB PIFSHDATASIZE DUP (?)
behavior DB ?
sysflags DB ?
STDPIF ENDS
fALTTABdis286 EQU 0001H
fALTESCdis286 EQU 0002H
fALTPRTSCdis286 EQU 0004H
fPRTSCdis286 EQU 0008H
fCTRLESCdis286 EQU 0010H
fNoSaveVid286 EQU 0020H
fCOM3_286 EQU 4000H
fCOM4_286 EQU 8000H
W286PIF30 STRUC
PfMaxXmsK DW ?
PfMinXmsK DW ?
PfW286Flags DW ?
W286PIF30 ENDS
fEnableClose EQU 00000001H
fEnableCloseBit EQU 0
fBackground EQU 00000002H
fBackgroundBit EQU 1
fExclusive EQU 00000004H
fExclusiveBit EQU 2
fFullScreen EQU 00000008H
fFullScreenBit EQU 3
fALTTABdis EQU 00000020H
fALTTABdisBit EQU 5
fALTESCdis EQU 00000040H
fALTESCdisBit EQU 6
fALTSPACEdis EQU 00000080H
fALTSPACEdisBit EQU 7
fALTENTERdis EQU 00000100H
fALTENTERdisBit EQU 8
fALTPRTSCdis EQU 00000200H
fALTPRTSCdisBit EQU 9
fPRTSCdis EQU 00000400H
fPRTSCdisBit EQU 10
fCTRLESCdis EQU 00000800H
fCTRLESCdisBit EQU 11
fPollingDetect EQU 00001000H
fPollingDetectBit EQU 12
fNoHMA EQU 00002000H
fNoHMABit EQU 13
fHasHotKey EQU 00004000H
fHasHotKeyBit EQU 14
fEMSLocked EQU 00008000H
fEMSLockedBit EQU 15
fXMSLocked EQU 00010000H
fXMSLockedBit EQU 16
fINT16Paste EQU 00020000H
fINT16PasteBit EQU 17
fVMLocked EQU 00040000H
fVMLockedBit EQU 18
fGlobalProtect EQU 00080000H
fGlobalProtectBit EQU 19
fMinimized EQU 00100000H
fMinimizedBit EQU 20
fMaximized EQU 00200000H
fMaximizedBit EQU 21
fRealMode EQU 00800000H
fRealModeBit EQU 23
fDisAutoWinExec EQU 01000000H
fDisAutoWinExecBit EQU 24
fStrayPtrDetect EQU 02000000H
fStrayPtrDetectBit EQU 25
fVDDMask EQU 0000FFFFH
fVDDMinBit EQU 0
fVDDMaxBit EQU 15
fVidTxtEmulate EQU 00000001H
fVidTxtEmulateBit EQU 0
fVidNoTrpTxt EQU 00000002H
fVidNoTrpTxtBit EQU 1
fVidNoTrpLRGrfx EQU 00000004H
fVidNoTrpLRGrfxBit EQU 2
fVidNoTrpHRGrfx EQU 00000008H
fVidNoTrpHRGrfxBit EQU 3
fVidTextMd EQU 00000010H
fVidTextMdBit EQU 4
fVidLowRsGrfxMd EQU 00000020H
fVidLowRsGrfxMdBit EQU 5
fVidHghRsGrfxMd EQU 00000040H
fVidHghRsGrfxMdBit EQU 6
fVidRetainAllo EQU 00000080H
fVidRetainAlloBit EQU 7
PifDescMask EQU (fALTTABdis+fALTESCdis+fALTSPACEdis+fALTENTERdis+fALTPRTSCdis+fPRTSCdis+fCTRLESCdis+fPollingDetect+fNoHMA+fHasHotKey+fEMSLocked+fXMSLocked+fINT16Paste+fVMLocked)
W386PIF30 STRUC
PfW386maxmem DW ?
PfW386minmem DW ?
PfFPriority DW ?
PfBPriority DW ?
PfMaxEMMK DW ?
PfMinEMMK DW ?
PfMaxXmsK DW ?
PfMinXmsK DW ?
PfW386Flags DD ?
PfW386Flags2 DD ?
PfHotKeyScan DW ?
PfHotKeyShVal DW ?
PfHotKeyShMsk DW ?
PfHotKeyVal DB ?
PfHotKeyPad DB 9 DUP (?)
PfW386params DB PIFPARAMSSIZE DUP (?)
W386PIF30 ENDS
HVM_ASSOCIATION EQU 1
HWND_ASSOCIATION EQU 2
SHEETTYPE_SIMPLE EQU 0
SHEETTYPE_ADVANCED EQU 1
ORD_OPENPROPERTIES EQU 2
ORD_GETPROPERTIES EQU 3
ORD_SETPROPERTIES EQU 4
ORD_EDITPROPERTIES EQU 5
ORD_FLUSHPROPERTIES EQU 6
ORD_ENUMPROPERTIES EQU 7
ORD_ASSOCIATEPROPERTIES EQU 8
ORD_CLOSEPROPERTIES EQU 9
ORD_LOADPROPERTYLIB EQU 10
ORD_ENUMPROPERTYLIBS EQU 11
ORD_FREEPROPERTYLIB EQU 12
ORD_ADDPROPERTYSHEET EQU 13
ORD_REMOVEPROPERTYSHEET EQU 14
ORD_LOADPROPERTYSHEETS EQU 15
ORD_ENUMPROPERTYSHEETS EQU 16
ORD_FREEPROPERTYSHEETS EQU 17
endif