Making this compile on vc5. Not part of build yet

This commit is contained in:
dveditz%netscape.com 1999-09-09 22:34:32 +00:00
parent 9c5b0aa21b
commit 42d4c52ac5

View File

@ -22,8 +22,9 @@
* Sean Su <ssu@netscape.com>
*/
/* This is a hack for vc5.0. It needs to be set *before*
* any shell include files.
/* This is a hack for vc5.0. It needs to be set *before* any shell
* include files. The INITGUID definition turns off the inclusion
* of shlguid.h in shlobj.h so it has to be done explicitly.
*/
#if (_MSC_VER == 1100)
#define INITGUID
@ -32,6 +33,7 @@ DEFINE_OLEGUID(IID_IPersistFile, 0x0000010BL, 0, 0);
#endif
#include <shlobj.h>
#include <shlguid.h>
#include "shortcut.h"
HRESULT CreateALink(LPSTR lpszPathObj, LPSTR lpszPathLink, LPSTR lpszDesc, LPSTR lpszWorkingPath, LPSTR lpszArgs, LPSTR lpszIconFullPath, int iIcon)