Partial stub implementation of undocumented KERNEL routine PK16FNF,

needed by Win98 EXPLORER. Thanks to Ulrich Weigand for information.
This commit is contained in:
Ian Schmidt 1999-02-19 14:04:35 +00:00 committed by Alexandre Julliard
parent a0a719e2fe
commit 9ba500cac2
2 changed files with 19 additions and 2 deletions

View File

@ -103,7 +103,7 @@ init MAIN_KernelInit
88 varargs SSCall() SSCall
89 register FT_PrologPrime() FT_PrologPrime
90 register QT_ThunkPrime() QT_ThunkPrime
91 stub PK16FNF
91 stdcall PK16FNF(ptr) PK16FNF
92 stdcall GetPK16SysVar() GetPK16SysVar
93 stdcall GetpWin16Lock(ptr) GetpWin16Lock32
94 stdcall _CheckNotSysLevel(ptr) _CheckNotSysLevel

View File

@ -1362,5 +1362,22 @@ BOOL32 WINAPI GetBinaryType32W (LPCWSTR lpApplicationName, LPDWORD lpBinaryType)
return ret;
}
/*********************************************************************
* PK16FNF [KERNEL32.91]
*
* This routine fills in the supplied 13-byte (8.3 plus terminator)
* string buffer with the 8.3 filename of a recently loaded 16-bit
* module. It is unknown exactly what modules trigger this
* mechanism or what purpose this serves. Win98 Explorer (and
* probably also Win95 with IE 4 shell integration) calls this
* several times during initialization.
*
* FIXME: find out what this really does and make it work.
*/
void WINAPI PK16FNF(LPSTR strPtr)
{
FIXME(win32, "(%p): stub\n", strPtr);
/* fill in a fake filename that'll be easy to recognize */
lstrcpy32A(strPtr, "WINESTUB.FIX");
}