2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2004-06-18 20:43:44 +00:00
|
|
|
|
2007-10-21 16:20:14 +00:00
|
|
|
#define COBJMACROS
|
2007-10-08 15:56:31 +00:00
|
|
|
#include <windows.h>
|
|
|
|
#include <commctrl.h>
|
|
|
|
#include <cpl.h>
|
|
|
|
#include <prsht.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <tchar.h>
|
|
|
|
#include <process.h>
|
|
|
|
#include <prsht.h>
|
|
|
|
#include <shlobj.h>
|
|
|
|
#include <objbase.h>
|
|
|
|
#include <shobjidl.h>
|
|
|
|
#include <shlguid.h>
|
|
|
|
|
|
|
|
#include "resource.h"
|
|
|
|
|
2007-10-04 23:51:10 +00:00
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
WCHAR szTarget[MAX_PATH];
|
|
|
|
WCHAR szWorkingDirectory[MAX_PATH];
|
|
|
|
WCHAR szDescription[MAX_PATH];
|
|
|
|
WCHAR szLinkName[MAX_PATH];
|
2009-08-15 11:14:07 +00:00
|
|
|
} CREATE_LINK_CONTEXT, *PCREATE_LINK_CONTEXT;
|
2007-10-04 23:51:10 +00:00
|
|
|
|
2004-06-18 20:43:44 +00:00
|
|
|
extern HINSTANCE hApplet;
|
|
|
|
|
2007-10-03 17:50:43 +00:00
|
|
|
/* createlink.c */
|
|
|
|
INT_PTR CALLBACK
|
|
|
|
WelcomeDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
|
|
|
|
INT_PTR CALLBACK
|
|
|
|
FinishDlgProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
|
|
|
|
|
|
|
LONG CALLBACK
|
|
|
|
NewLinkHere(HWND hwndCPl, UINT uMsg, LPARAM lParam1, LPARAM lParam2);
|
|
|
|
|
2004-06-18 20:43:44 +00:00
|
|
|
void ShowLastWin32Error(HWND hWndOwner);
|
|
|
|
|
|
|
|
/* EOF */
|