Process Hacker
onlnchk.h File Reference
#include <phdk.h>
#include <windowsx.h>
#include <winhttp.h>
#include "sha256.h"
#include "resource.h"

Go to the source code of this file.

Data Structures

struct  _SERVICE_INFO
 
struct  _UPLOAD_CONTEXT
 

Macros

#define CINTERFACE
 
#define COBJMACROS
 
#define PLUGIN_NAME   L"ProcessHacker.OnlineChecks"
 
#define HASH_SHA1   1
 
#define HASH_SHA256   2
 
#define UM_EXISTS   (WM_USER + 1)
 
#define UM_LAUNCH   (WM_USER + 2)
 
#define UM_ERROR   (WM_USER + 3)
 
#define Control_Visible(hWnd, visible)   ShowWindow(hWnd, visible ? SW_SHOW : SW_HIDE);
 
#define UPLOAD_SERVICE_VIRUSTOTAL   101
 
#define UPLOAD_SERVICE_JOTTI   102
 
#define UPLOAD_SERVICE_CIMA   103
 

Typedefs

typedef enum
_PH_UPLOAD_SERVICE_STATE 
PH_UPLOAD_SERVICE_STATE
 
typedef struct _SERVICE_INFO SERVICE_INFO
 
typedef struct _SERVICE_INFOPSERVICE_INFO
 
typedef struct _UPLOAD_CONTEXT UPLOAD_CONTEXT
 
typedef struct _UPLOAD_CONTEXTPUPLOAD_CONTEXT
 

Enumerations

enum  _PH_UPLOAD_SERVICE_STATE {
  PhUploadServiceDefault = 0, PhUploadServiceChecking, PhUploadServiceViewReport, PhUploadServiceUploading,
  PhUploadServiceLaunching, PhUploadServiceMaximum
}
 

Functions

VOID UploadToOnlineService (_In_ PPH_STRING FileName, _In_ ULONG Service)
 

Variables

PPH_PLUGIN PluginInstance
 

Macro Definition Documentation

#define CINTERFACE

Definition at line 29 of file onlnchk.h.

#define COBJMACROS

Definition at line 30 of file onlnchk.h.

#define Control_Visible (   hWnd,
  visible 
)    ShowWindow(hWnd, visible ? SW_SHOW : SW_HIDE);

Definition at line 47 of file onlnchk.h.

#define HASH_SHA1   1

Definition at line 40 of file onlnchk.h.

#define HASH_SHA256   2

Definition at line 41 of file onlnchk.h.

#define PLUGIN_NAME   L"ProcessHacker.OnlineChecks"

Definition at line 38 of file onlnchk.h.

#define UM_ERROR   (WM_USER + 3)

Definition at line 45 of file onlnchk.h.

#define UM_EXISTS   (WM_USER + 1)

Definition at line 43 of file onlnchk.h.

#define UM_LAUNCH   (WM_USER + 2)

Definition at line 44 of file onlnchk.h.

#define UPLOAD_SERVICE_CIMA   103

Definition at line 98 of file onlnchk.h.

#define UPLOAD_SERVICE_JOTTI   102

Definition at line 97 of file onlnchk.h.

#define UPLOAD_SERVICE_VIRUSTOTAL   101

Definition at line 96 of file onlnchk.h.

Typedef Documentation

typedef struct _SERVICE_INFO * PSERVICE_INFO
typedef struct _UPLOAD_CONTEXT * PUPLOAD_CONTEXT
typedef struct _SERVICE_INFO SERVICE_INFO

Enumeration Type Documentation

Enumerator:
PhUploadServiceDefault 
PhUploadServiceChecking 
PhUploadServiceViewReport 
PhUploadServiceUploading 
PhUploadServiceLaunching 
PhUploadServiceMaximum 

Definition at line 50 of file onlnchk.h.

Function Documentation

VOID UploadToOnlineService ( _In_ PPH_STRING  FileName,
_In_ ULONG  Service 
)

Definition at line 1292 of file upload.c.

Variable Documentation

PPH_PLUGIN PluginInstance

Definition at line 113 of file main.c.