mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[SHELL32_APITEST] DragDrop: Add NULL check of pDropTarget
This commit is contained in:
parent
0ac96ca431
commit
14478887df
1 changed files with 13 additions and 0 deletions
|
@ -272,6 +272,19 @@ static void DoTestEntry(const TEST_ENTRY *pEntry)
|
|||
CoTaskMemFree(pidl);
|
||||
ok_long(hr, S_OK);
|
||||
|
||||
if (!pDropTarget)
|
||||
{
|
||||
skip("pDropTarget was NULL\n");
|
||||
|
||||
// clean up
|
||||
DeleteFileW(s_szSrcTestFile);
|
||||
DeleteFileW(s_szDestTestFile);
|
||||
DoDeleteSpecW(s_szDestLinkSpec);
|
||||
ILFree(pidlDesktop);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
// DragEnter
|
||||
POINTL ptl = { 0, 0 };
|
||||
DWORD dwKeyState = pEntry->dwKeyState;
|
||||
|
|
Loading…
Reference in a new issue