Added GetKnownFolderPath
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7154 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
1f355d992c
commit
68db5f04ee
10 changed files with 128 additions and 5 deletions
|
@ -40,7 +40,20 @@ TCHAR * NSISCALL mystrcpy(TCHAR *out, const TCHAR *in);
|
|||
int NSISCALL mystrlen(const TCHAR *in);
|
||||
TCHAR * NSISCALL mystrcat(TCHAR *out, const TCHAR *concat);
|
||||
TCHAR * NSISCALL mystrstr(TCHAR *a, TCHAR *b);
|
||||
int StrWideToACP(LPCWSTR Src, char* Dst, int DstCap);
|
||||
#ifdef UNICODE
|
||||
#define strcpyWideToT mystrcpy
|
||||
#else
|
||||
void strcpyWideToT(TCHAR *out, LPCWSTR in);
|
||||
#endif
|
||||
|
||||
#ifdef _WIN64
|
||||
#define ComIIDFromString(s,out) SHCLSIDFromString((s),(CLSID*)(out))
|
||||
#elif defined(UNICODE)
|
||||
#define ComIIDFromString(s,out) IIDFromString((s), (IID*)(out))
|
||||
#else
|
||||
HRESULT ComIIDFromString(LPCTSTR str, IID*out);
|
||||
#endif
|
||||
|
||||
#ifndef KEY_CREATE_LINK
|
||||
#define KEY_CREATE_LINK 0x0020
|
||||
|
@ -154,6 +167,7 @@ enum myGetProcAddressFunctions {
|
|||
MGA_RegDeleteKeyEx,
|
||||
#endif
|
||||
MGA_InitiateShutdown,
|
||||
MGA_SHGetKnownFolderPath,
|
||||
MGA_IsUserAnAdmin,
|
||||
#ifndef _WIN64
|
||||
MGA_IsOS,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue