mirror of https://github.com/tongzx/nt5src
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
778 B
42 lines
778 B
#define STRICT
|
|
#define _INC_OLE // REVIEW: don't include ole.h in windows.h
|
|
|
|
#define OEMRESOURCE
|
|
|
|
|
|
#ifdef WINNT
|
|
|
|
//
|
|
// NT uses DBG=1 for its debug builds, but the Win95 shell uses
|
|
// DEBUG. Do the appropriate mapping here.
|
|
//
|
|
#if DBG
|
|
#define DEBUG 1
|
|
#endif
|
|
#endif
|
|
|
|
#include <windows.h>
|
|
#ifdef WINNT
|
|
#include <stddef.h>
|
|
#include <wingdip.h>
|
|
#endif
|
|
#include <commctrl.h>
|
|
#ifdef WINNT
|
|
#include <comctrlp.h>
|
|
#endif
|
|
#include <windowsx.h>
|
|
#include <ole2.h>
|
|
#include <shlobj.h> // Includes <fcext.h>
|
|
|
|
#ifdef UNICODE
|
|
#define CP_WINNATURAL CP_WINUNICODE
|
|
#else
|
|
#define CP_WINNATURAL CP_WINANSI
|
|
#endif
|
|
|
|
#include <port32.h>
|
|
// #include <heapaloc.h>
|
|
#include <..\inc\debug.h> // our version of Assert etc.
|
|
#include <shellp.h>
|
|
|
|
extern "C" BOOL WINAPI PackWizRunFromExe();
|