OpenVPN
dllmain.c File Reference
#include "openvpnmsica.h"
#include "../tapctl/error.h"
#include <windows.h>
#include <msi.h>
#include <msiquery.h>
#include <stdio.h>
#include <wchar.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.
bool dont_mute (unsigned int flags)
 Check muting filter.
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.

Function Documentation

◆ DllMain()

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

DLL entry point.

Definition at line 44 of file dllmain.c.

References _In_, and openvpnmsica_thread_data_idx.

◆ dont_mute()

bool dont_mute ( unsigned int flags)

Check muting filter.

Definition at line 94 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 37 of file dllmain.c.

Referenced by DllMain(), and x_msg_va().