AntiMicroX
Macros | Typedefs | Functions | Variables
winextras.cpp File Reference
#include <windows.h>
#include <psapi.h>
#include <qt_windows.h>
#include <QCoreApplication>
#include <QDebug>
#include <QDir>
#include <QHashIterator>
#include <QSettings>
#include "winextras.h"
#include <shlobj.h>
Include dependency graph for winextras.cpp:

Macros

#define _WIN32_WINNT   0x0600
 

Typedefs

typedef DWORD(WINAPI * MYPROC) (HANDLE, DWORD, LPWSTR, PDWORD)
 

Functions

static const QString ROOTASSOCIATIONKEY ("HKEY_CURRENT_USER\\Software\\Classes")
 
static const QString FILEASSOCIATIONKEY (QString("%1\\%2").arg(ROOTASSOCIATIONKEY).arg(".amgp"))
 
static const QString PROGRAMASSOCIATIONKEY (QString("%1\\%2").arg(ROOTASSOCIATIONKEY).arg("AntiMicro.amgp"))
 
const wchar_t * convertCharArrayToLPCWSTR (const char *charArray)
 

Variables

static MYPROC pQueryFullProcessImageNameW
 

Macro Definition Documentation

◆ _WIN32_WINNT

#define _WIN32_WINNT   0x0600

Typedef Documentation

◆ MYPROC

typedef DWORD(WINAPI * MYPROC) (HANDLE, DWORD, LPWSTR, PDWORD)

Function Documentation

◆ convertCharArrayToLPCWSTR()

const wchar_t* convertCharArrayToLPCWSTR ( const char *  charArray)
Here is the caller graph for this function:

◆ FILEASSOCIATIONKEY()

static const QString FILEASSOCIATIONKEY ( QString("%1\\%2").arg(ROOTASSOCIATIONKEY).arg(".amgp")  )
static
Here is the caller graph for this function:

◆ PROGRAMASSOCIATIONKEY()

static const QString PROGRAMASSOCIATIONKEY ( QString("%1\\%2").arg(ROOTASSOCIATIONKEY).arg("AntiMicro.amgp")  )
static
Here is the caller graph for this function:

◆ ROOTASSOCIATIONKEY()

static const QString ROOTASSOCIATIONKEY ( "HKEY_CURRENT_USER\\Software\\Classes"  )
static

Variable Documentation

◆ pQueryFullProcessImageNameW

MYPROC pQueryFullProcessImageNameW
static
Initial value:
=
(MYPROC)GetProcAddress(GetModuleHandle(TEXT("kernel32.dll")), "QueryFullProcessImageNameW")
MYPROC
DWORD(WINAPI * MYPROC)(HANDLE, DWORD, LPWSTR, PDWORD)
Definition: winextras.cpp:17