2010-02-26 11:43:19 +00:00
|
|
|
#pragma once
|
2007-10-20 10:20:05 +00:00
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
#include <commctrl.h>
|
|
|
|
#include <cpl.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <tchar.h>
|
|
|
|
#include <process.h>
|
|
|
|
|
|
|
|
#include "resource.h"
|
|
|
|
|
|
|
|
typedef LONG (CALLBACK *CPLAPPLET_PROC)(VOID);
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
2007-10-21 12:58:35 +00:00
|
|
|
int idIcon;
|
|
|
|
int idName;
|
|
|
|
int idDescription;
|
|
|
|
CPLAPPLET_PROC AppletProc;
|
2007-10-20 10:20:05 +00:00
|
|
|
} APPLET, *PAPPLET;
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
2007-10-21 12:58:35 +00:00
|
|
|
WCHAR szTarget[MAX_PATH];
|
|
|
|
WCHAR szWorkingDirectory[MAX_PATH];
|
|
|
|
WCHAR szDescription[MAX_PATH];
|
|
|
|
WCHAR szLinkName[MAX_PATH];
|
2007-10-20 10:20:05 +00:00
|
|
|
}CREATE_LINK_CONTEXT, *PCREATE_LINK_CONTEXT;
|
|
|
|
|
|
|
|
|
|
|
|
extern HINSTANCE hApplet;
|
|
|
|
|
|
|
|
void ShowLastWin32Error(HWND hWndOwner);
|
|
|
|
|
|
|
|
/* EOF */
|