Groups search result 11 for winHswitchfromhapp |
Hello Stepan!
Friday August 30 1996 15:31, Stepan Kazakov wrote to Rinat Sadretdinow:
RS>> APIRET APIENTRY DosTmrQueryTime (QWORD Time)
RS>> APIRET APIENTRY DosTmrQueryFreq (ULONG Freq)
SK> ╙╘╧╨. ╔╚ ╒ ═┼╬╤ ╫ cp ╬┼╘╒.
Undocumented functions.
SK> ╟─┼ ╫┌╤╘╪ ╧╨╔╙┴╠╧╫╧?
Julius Goryavsky ╫ ╙╫╧┼ ╫╥┼═╤ ╦╔─┴╠ ╫ su.os2.prog
SK> ╙ ╦┴╦╧╩ ╫┼p╙╔╔ ╨╧╤╫╔╠╔╙╪ ╔╘─. ?
IMHO ╙ ╫┼╥╙╔╔ 2.0
-------------------------------8<------------------------------------
ö SU.OS2.PROG (2:5020/214.14) öööööööööööööööööööööööööööööööö SU.OS2.PROG ö
Msg : 1 of 1 From : Julius Goryavsky 2:5030/16.32 Tue
23 May 95 19:04 To : All Fri
26 May 95 01:45 Subj : ∩ ╬┼─╧╦╒═┼╬╘╔╥╧╫┴╬┘╚ ╞╒╬╦├╔╤╚ OS/2...
öööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööööö
Ruslan Zalata wrote in a message to Julius Goryavsky:
RZ> ¬ÆöÅ
RZ> ââ âp╔╫┼╘╙╘╫╒┼═ ≈┴╙, Julius !
RZ> Θ┌╫╧╠╔╠╔ φ┘ ╫╔─┼╘╪, ╦┴╦ 15 φ┴╩ 1995 (≡╬) ▐╔╙╠┴, ╧╦╧╠╧
RZ> 17:02 ╫┼▐┼p┴, Julius Goryavsky ╫┼╠┼╠╔ ,┌╬┴▐╔╘╙╤, ╧╘╨╔╙┴╘╪
RZ> ╦ All ╫╧╘ ▐┼╟╧-╙:
JG> DosDumpProcess
RZ> ß ▐╘╧ ─┼╠┴┼╘ ╫╧╘ ▄╘╧ ? Θ ╦┴╦╔┼ ╨┴p┴═┼╘p┘ ?
RZ> ≤ ╫┼╠╔▐┴╩█╔═ ╨╧▐╘┼╬╔┼═, Ruslan.
≈╧╘ ╦╧┼-▐╘╧ ╧ ╬┼─╧╦╒═┼╬╘╔p╧╫┴╬┘╚ ╞╒╬╦├╔╤╚... ≤┼╩▐┴╙ ╔╙╙╠┼─╒┼╘╙╤
DosTib, DosReplaceModule, RamSem???, ╙╦╧p╧ ╫╙┼ ╙ ╬╔═╔ ┬╒─┼╘ ╤╙╬╧.
APIRET APIENTRY DosTmrQueryTime (QWORD Time)
Σ╧╙╘╒╨ ╦ _╧▐┼╬╪_ ╘╧▐╬╧═╒ ┴╨╨┴p┴╘╬╧═╒ ╘┴╩═┼p╒. σ╟╧ ▄╞╞┼╦╘╔╫╬┴╤
╘╧▐╬╧╙╘╪ ┬╠╔┌╦┴ ╦ _═╔╦p╧_╙┼╦╒╬─┼. Time - 8 ┬┴╩╘ ╙╧─┼p╓┴▌╔╚
╘┼╦╒▌┼┼ ╫p┼═╤ ╫ ╦╫┴╬╘┴╚ ╙╔╙╘┼═╬╧╟╧ ╘┴╩═┼p┴. ≤═. DosTmrQueryFreq.
± ╔╙╨╧╠╪┌╒└ ▄╘╒ ╞╒╬╦├╔└ ─╠╤ ╘┴╩═╔p╧╫┴╬╔╤ ╨p╧├┼─╒p ╔╙╨╧╠╬┼╬╔┼
╦╧╘╧p┘╚ ─╠╔╘╪╙╤ 200-400 ╘┴╦╘╧╫ ╔ ╨╧╠╒▐┴└ ─╧╫╧╠╪╬╧ ╘╧▐╬┘┼
p┼┌╒╠╪╘┴╘┘.
APIRET APIENTRY DosTmrQueryFreq (ULONG Freq)
∩╨p┼─┼╠╔╘╪ ▐┴╙╘╧╘╒ ╙╔╙╘┼═╬╧╟╧ ╘┴╩═┼p┴. Freq - ▐┴╙╘╧╘┴ ╙╔╙╘┼═╬╧╟╧
╘┴╩═┼p┴. ≡p╔┬╠╔┌╔╘┼╠╪╬╧ 1193182 τ├.
APIRET APIENTRY DosDumpProcess (ULONG Flag, ULONG Drive, ULONG pid)
ß╬┴╠╧╟ ╧╨┼p┴╘╧p┴ DUMPPROCESS ╫ CONFIG.SYS.
σ╙╠╔ Flag = 0 ╘╧ ┌┴╨p┼▌┴┼╘ ─┴═╨╧╫┴╬╔┼ ╧┬╠╧═╔╫█╔╚╙╤ ╨p╧├┼╙╙╧╫ ╬┴
─╔╙╦, ┼╙╠╔ Flag = 1 ╘╧ p┴┌p┼█┴┼╘. Drive ╧╨p┼─┼╠╤┼╘ ╬╧═┼p ─╔╙╦┴
(╬┴▐╔╬┴╤ ╙ ╬╒╠╤) ╬┴ ╦╧╘╧p┘╩ ─┴═╨╒└╘ ╨┴═╤╘╪ ╧┬╠╧═╔╫█╔╚╙╤ ╨p╧├┼╙╙╧╫.
σ╙╠╔ Flag = 2 ╘╧ pid ╧╨p┼─┼╠╤┼╘ ╨p╧├┼╙╙ ╨╧─╠┼╓┴▌╔╩ ─┴═╨╧╫┴╬╔└.
APIRET APIENTRY DosForceSystemDump (ULONG Reserved)
≡p╧╔┌╫┼╙╘╔ ─┴═╨╧╫┴╬╔┼ ╫╙┼╩ ╙╔╙╘┼═╬╧╩ ╨┴═╤╘╔ ╬┴ ─╔╙╦
╙╨┼├╔╞╔├╔p╧╫┴╬┘╩ ╫ ╧╨┼p┴╘╧p┼ TRAPDUMP ╞┴╩╠┴ CONFIG.SYS.
APIRET APIENTRY DosQueryABIOSSupport(ULONG reserved)
σ╙╠╔ ╫╧┌╫p┴▌┴┼╘ 0h ╘╧ ABIOS ┼╙╘╪, ┼╙╠╔ ╬┼ ╬╧╠╪ - ╬┼╘ ╔╠╔
Not Supported.
APIRET APIENTRY DosQueryModFromEIP (HMODULE * hmod, ULONG * obj,
ULONG BufLen, PCHAR Buf,
ULONG * Offset, ULONG Address)
∩╨p┼─┼╠╔╘╪ ═╧─╒╠╪, ╫ ┴─p┼╙╬╧┼ ╨p╧╙╘p┴╬╙╘╫╧ ╦╧╘╧p╧╟╧ ╨╧╨┴─┴┼╘
╒╦┴┌┴╬┘╩ ┴─p┼╙. ≈╚╧─: Address ╔ BufLen. ∩╙╘┴╠╪╬╧┼ - ╬┴ ╫┘╚╧─┼.
Address - ╨p╧╫┼p╤┼═┘╩ ┴─p┼╙. BufLen - ─╠╔╬┴ ┬╒╞┼p┴ ─╠╤ ╔═┼╬╔
═╧─╒╠╤ ╦╧╘╧p╧═╒ ╨p╔╬┴─╠┼╓╔╘ ┴─p┼╙, Buf - ╙┴═ ┬╒╞┼p. Obj - ╬╧═┼p
╧┬▀┼╦╘┴ ╨┴═╤╘╔ ╫ ╦╧╘╧p┘╩ ╨╧╨┴╠ ┴─p┼╙, Offset - ╙═┼▌┼╬╔┼ ╫ ═╧─╒╠┼.
hmod - Handle ═╧─╒╠╤ ╦╧╘╧p╧═╒ ╨p╔╬┴─╠┼╓╔╘ ┴─p┼╙.
APIRET APIENTRY DosSuppressPopUps (ULONG Flag, ULONG Drive)
≥┴┬╧╘┴┼╘ ╨╧─╧┬╬╧ ╧╨┼p┴╘╧p╒ SUPPRESSPOPUPS ╫ CONFIG.SYS.
Flag = 0 - Disable ╫╙╨╠┴╫┴└▌╔╩ ▄╦p┴╬ ╙ Help,Retry,End Process
╔ ╘.╨. (HARDERR.EXE), Flag = 1 - Enable. Drive ╙╧─┼p╓╔╘ ╬╧═┼p
─╔╙╦┴ ╬┴ ╦╧╘╧p┘╩ ╬┴─╧ ╙╠╔╫┴╘╪ ╧╨╔╙┴╬╔┼ ╙┬╧╤ ╨p╔ Disabled
Pop-Ups.
APIRET APIENTRY DosVerifyPIDTID (ULONG pid, ULONG tid)
∩╨p┼─┼╠╤┼╘ ╙╒▌┼╙╘╫╒┼╘ ╠╔ ├┼╨╧▐╦┴ tid ╫ ╨p╧├┼╙╙┼ pid. σ╙╠╔ ╫┼p╬╒╠╔
0h - ╫╙┼ Ok, ╔╬┴▐┼ ├┼╨╧▐╦┴ ╬┼ ╙╒▌┼╙╘╫╒┼╘. ⌠┴╦ ╦┴╦ ╨p╧├┼╙╙ ╬┼═╧╓┼╘
╙╒▌┼╙╘╫╧╫┴╘╪ ┬┼┌ ├┼╨╧▐╦╔ 1, ╘╧ ╫┘┌╧╫ DosVerifyPIDTID(pid, 1)
╧╨p┼─┼╠╤┼╘ ╓╔╫ ╠╔ ╨p╧├┼╙╙.
HAPP APIENTRY WinHAPPFromPID (ULONG pid)
≡╧╠╒▐╔╘╪ HAPP ╨╧ PID. σ╙╠╔ ╫┼p╬╒╠┴ 0h ╘╧ Error.
HSWITCH APIENTRY WinHSWITCHFromHAPP
≡╧╠╒▐╔╘╪ HSWITCH ╨╧ HAPP. σ╙╠╔ ╫┼p╬╒╠┴ 0h ╘╧ Error.
DosOpenChangeNotify
DosCloseChangeNotify
DosResetChangeNotify
Σ╧╠╟┴╤ ╔╙╘╧p╔╤... ≡╧┌╫╧╠╤┼╘ ╧╨p┼─┼╠╔╘╪ ╞┴╦╘ ╦┴╦╔╚-╠╔┬╧ ╔┌═┼╬┼╬╔╩
╬┴ ─╔╙╦┼. ·┴ ╙▐┼╘ ╔╙╨╧╠╪┌╧╫┴╬╔╤ ▄╘╔╚ ╞╒╬╦├╔╩ WPS ╧╨p┼─┼╠╤┼╘
╫╧┌╬╔╦╬╧╫┼╬╔┼ ╔╠╔ ╔╙▐┼┌╬╧╫┼╬╔┼ ╞┴╩╠╧╫┘╚ ╧┬▀┼╦╘╧╫. φ╧╟╒╘ ╔╙╨╧╠╪┌╧-
╫┴╘╪╙╤ ─╠╤ ╦╧╬╘p╧╠╤ ┌┴ ╔┌═┼╬┼╬╔┼═ ╙╧╙╘╧╤╬╔╤ ╦┴╘┴╠╧╟┴ ╫ ╧─╬╧═ ╔┌
╧╦╧╬ H╧p╘╧╬┴ ╔ ╘.╨... ≈╧╘ ┴╬╟╠╔├╦╧┼ ╧╨╔╙┴╬╔┼:
Area : OS2PROG
Date : Apr 24 '95, 09:01
From : Peter Fitzsimmons
To : Henrik Vendelbo
Subj : DosNotify..
HV> Does anybody know why the DosNotify.. functions are
HV> ommitted from the 32 bit API.
(Fyi: they are DosFindNotify...(), not just DosNotify...()).
I can't even find these in my 1.x header files.
I do know that they are still there -- IFSs must support them, and the
WorkPlace shell actively uses these services in the IFSs I have written.
Try prototyping them yourself and using them.
[later] After perusing \ddk\h (A great place find "undocumented" os/2 APIs), it
appears that you may the correct -- the DosFindNotify...() apis no long exist
as
32bit apis (but you can still import the 16bit ones if if like).
They appear to have been replaced by something better (which probably uses the
FindNotify IFS services underneath). You'll have to figure these out on your
own (please report back here);but they don't look too hard:
#pragma pack(1)
typedef struct _CNPATH { /* CHANGENOTIFYPATH */
ULONG oNextEntryOffset;
ULONG wFlags;
USHORT cbName;
CHAR szName[1];
} CNPATH;
typedef CNPATH *PCNPATH;
typedef struct _CNINFO { /* CHANGENOTIFYINFO */
ULONG oNextEntryOffset;
CHAR bAction;
USHORT cbName;
CHAR szName[1];
} CNINFO;
typedef CNINFO *PCNINFO;
#pragma pack()
// Equates for ChangeNotifyInfo baction field
#define RCNF_FILE_ADDED 0x0001
#define RCNF_FILE_DELETED 0x0002
#define RCNF_DIR_ADDED 0x0003
#define RCNF_DIR_DELETED 0x0004
#define RCNF_MOVED_IN 0x0005
#define RCNF_MOVED_OUT 0x0006
#define RCNF_CHANGED 0x0007
#define RCNF_OLDNAME 0x0008
#define RCNF_NEWNAME 0x0009
#define RCNF_DEVICE_ATTACHED 0x000A
#define RCNF_DEVICE_DETACHED 0x000B
APIRET APIENTRY DosOpenChangeNotify(PCNPATH PathBuf,
ULONG LogSize, PHDIR hdir,
ULONG ulReserved);
APIRET APIENTRY DosResetChangeNotify(PCNINFO LogBuf, ULONG BufferSize,
PULONG LogCount, HDIR hdir);
APIRET APIENTRY DosCloseChangeNotify(HDIR hdir);
≤ ╒╫┴╓┼╬╔┼═, α╠╔╩ τ╧p╤╫╙╦╔╩.
©2002 Google