summaryrefslogtreecommitdiff
path: root/plugins/AddToStartMenu/src/stdafx.h
blob: 587fba5c3a68916f3f716e58f8a1d38d8517a7fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once

#include <Windows.h>
#include <Psapi.h>

#include <ShObjIdl.h>
#include <propvarutil.h>
#include <functiondiscoverykeys.h>
#include <wrl\client.h>
#include <wrl\implements.h>
#include <newpluginapi.h>
#include <m_langpack.h>
#include <m_message.h>
#include <m_genmenu.h>
#include <m_clist.h>
#include "Version.h"

const wchar_t AppUserModelID[] = _T("MirandaNG");

#define MODULENAME "AddToStartMenu"

extern HINSTANCE g_hInst;


INT_PTR Service(WPARAM, LPARAM);
HRESULT ShortcutExists();
wchar_t* GetShortcutPath();
HRESULT TryCreateShortcut();
HRESULT InstallShortcut(_In_z_ wchar_t *shortcutPath);