OpenVPN
Functions | Variables
dllmain.c File Reference
#include "openvpnmsica.h"
#include "../tapctl/error.h"
#include <windows.h>
#include <msi.h>
#include <msiquery.h>
#include <stdio.h>
#include <tchar.h>
Include dependency graph for dllmain.c:

Go to the source code of this file.

Functions

BOOL WINAPI DllMain (_In_ HINSTANCE hinstDLL, _In_ DWORD dwReason, _In_ LPVOID lpReserved)
 DLL entry point. More...
 
bool dont_mute (unsigned int flags)
 Check muting filter. More...
 
void x_msg_va (const unsigned int flags, const char *format, va_list arglist)
 

Variables

DWORD openvpnmsica_thread_data_idx = TLS_OUT_OF_INDEXES
 MSI session handle thread local storage index. More...
 

Function Documentation

◆ DllMain()

BOOL WINAPI DllMain ( _In_ HINSTANCE  hinstDLL,
_In_ DWORD  dwReason,
_In_ LPVOID  lpReserved 
)

DLL entry point.

Definition at line 45 of file dllmain.c.

References openvpnmsica_thread_data_idx.

◆ dont_mute()

bool dont_mute ( unsigned int  flags)

Check muting filter.

Definition at line 97 of file dllmain.c.

◆ x_msg_va()

void x_msg_va ( const unsigned int  flags,
const char *  format,
va_list  arglist 
)

Variable Documentation

◆ openvpnmsica_thread_data_idx

DWORD openvpnmsica_thread_data_idx = TLS_OUT_OF_INDEXES

MSI session handle thread local storage index.

Definition at line 38 of file dllmain.c.

Referenced by DllMain(), and x_msg_va().