mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:56:05 +00:00
[APITESTS] Improve and fix tests
This commit is contained in:
parent
cd5cc017cb
commit
465745b683
45 changed files with 832 additions and 566 deletions
|
@ -7,6 +7,7 @@
|
|||
#include "shelltest.h"
|
||||
#include <shlwapi.h>
|
||||
#include <strsafe.h>
|
||||
#include <versionhelpers.h>
|
||||
|
||||
#define NDEBUG
|
||||
#include <debug.h>
|
||||
|
@ -430,6 +431,13 @@ START_TEST(ShellExecCmdLine)
|
|||
using namespace std;
|
||||
|
||||
#ifndef ShellExecCmdLine
|
||||
// CHECKME
|
||||
if (!IsWindowsVistaOrGreater())
|
||||
{
|
||||
skip("ShellExecCmdLine is not available on this platform\n");
|
||||
return;
|
||||
}
|
||||
|
||||
HMODULE hShell32 = GetModuleHandleA("shell32");
|
||||
g_pShellExecCmdLine = (SHELLEXECCMDLINE)GetProcAddress(hShell32, (LPCSTR)(INT_PTR)265);
|
||||
if (!g_pShellExecCmdLine)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue