mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 02:32:57 +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);
|
CoTaskMemFree(pidl);
|
||||||
ok_long(hr, S_OK);
|
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
|
// DragEnter
|
||||||
POINTL ptl = { 0, 0 };
|
POINTL ptl = { 0, 0 };
|
||||||
DWORD dwKeyState = pEntry->dwKeyState;
|
DWORD dwKeyState = pEntry->dwKeyState;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue