Commit 9ba500ca authored by Ian Schmidt's avatar Ian Schmidt Committed by Alexandre Julliard

Partial stub implementation of undocumented KERNEL routine PK16FNF,

needed by Win98 EXPLORER. Thanks to Ulrich Weigand for information.
parent a0a719e2
......@@ -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
......
......@@ -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");
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment