mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 00:53:08 +00:00
[ZIPFLDR_APITEST] Add some basic IDataObject tests
CORE-16241
This commit is contained in:
parent
534710a6d5
commit
0340c5188c
11 changed files with 915 additions and 0 deletions
32
modules/rostests/apitests/zipfldr/precomp.h
Normal file
32
modules/rostests/apitests/zipfldr/precomp.h
Normal file
|
@ -0,0 +1,32 @@
|
|||
#ifndef _ZIPFLDR_APITEST_PRECOMP_H_
|
||||
#define _ZIPFLDR_APITEST_PRECOMP_H_
|
||||
|
||||
#define WIN32_NO_STATUS
|
||||
#define _INC_WINDOWS
|
||||
#define COM_NO_WINDOWS_H
|
||||
|
||||
|
||||
#include <windef.h>
|
||||
#include <winbase.h>
|
||||
#include <shlobj.h>
|
||||
#include <atlbase.h>
|
||||
#include <atlcom.h> // gcc needs to resolve unused template content
|
||||
#include <shellapi.h>
|
||||
#include <shlwapi.h>
|
||||
#include <strsafe.h>
|
||||
|
||||
#include <shellutils.h>
|
||||
|
||||
#include <apitest.h>
|
||||
|
||||
#include "resource.h"
|
||||
|
||||
BOOL extract_resource(WCHAR* Filename, LPCWSTR ResourceName);
|
||||
#define InitializeShellFolder(Filename, pFolder) InitializeShellFolder_(__FILE__, __LINE__, Filename, pFolder)
|
||||
bool InitializeShellFolder_(const char* file, int line, const WCHAR* Filename, CComPtr<IShellFolder>& spFolder);
|
||||
|
||||
#define IsFormatAdvertised(pDataObj, cfFormat, tymed) IsFormatAdvertised_(__FILE__, __LINE__, pDataObj, cfFormat, tymed)
|
||||
bool IsFormatAdvertised_(const char* file, int line, IDataObject* pDataObj, CLIPFORMAT cfFormat, TYMED tymed);
|
||||
|
||||
|
||||
#endif /* _ZIPFLDR_APITEST_PRECOMP_H_ */
|
Loading…
Add table
Add a link
Reference in a new issue