Ensure that CreateFileMoniker functions don't return a bogus moniker
object on failure.
This commit is contained in:
parent
c77c5928d2
commit
28e226b6cf
|
@ -30,6 +30,7 @@ CreateFileMoniker16(
|
|||
LPMONIKER * ppmk /* [out] new moniker object */
|
||||
) {
|
||||
FIXME(ole,"(%s,%p),stub!\n",lpszPathName,ppmk);
|
||||
*ppmk = NULL;
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
|
@ -42,5 +43,6 @@ CreateFileMoniker32(
|
|||
LPMONIKER * ppmk /* [out] new moniker object */
|
||||
) {
|
||||
FIXME(ole,"(%s,%p),stub!\n",debugstr_w(lpszPathName),ppmk);
|
||||
*ppmk = NULL;
|
||||
return E_FAIL;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue