openvpn-gui/plap
Selva Nair 2ea4bf9229 Add a test program for PLAP provider module
- instantiate OpenVPN PLAP provider which will enumerate configs
  in config-auto directory.
- Attempt to connect each config found one after the other

The test program is deliberately written in C++ as that's how most
Windows programs (and likely, LogonUI.exe) may use the COM object.

Note that duplicate configs are ignored, so ensure  that config
files in config-auto are not "shadowed" by identical named one's
in user's profile or in global config folder.

Additional notes:
The test program is not linked to the plap dll.
Instead it finds the module using CoGetClassObject,
so the plap dll must be registered in the system.

It also tests dynamically loading the dll from
C:\Program Files\OpenVPN\bin\libopenvpn_plap.dll
which should succeed even if the registration is not
proper.

Signed-off-by: Selva Nair <selva.nair@gmail.com>
2022-10-17 11:05:44 -04:00
..
Makefile.am Add a test program for PLAP provider module 2022-10-17 11:05:44 -04:00
openvpn-plap-install.reg Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
openvpn-plap-res.rc Enable MSVC build of libopenvpn_plap.dll 2022-10-17 11:05:44 -04:00
openvpn-plap-uninstall.reg Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
openvpn-plap.manifest Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
openvpn_plap.def Enable MSVC build of libopenvpn_plap.dll 2022-10-17 11:05:44 -04:00
plap_common.c Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
plap_common.h Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
plap_connection.c Add a progress dialog during Connect() 2022-10-17 11:05:44 -04:00
plap_connection.h Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
plap_dll.c Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
plap_dll.h Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
plap_provider.c Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
resource.h Add a BMP image for PLAP tile and use it 2022-10-17 11:05:44 -04:00
stub.c Implement Pre-Logon Access Provider for start before logon 2022-10-17 11:05:44 -04:00
test-plap-res.rc Add a test program for PLAP provider module 2022-10-17 11:05:44 -04:00
test-plap.manifest Add a test program for PLAP provider module 2022-10-17 11:05:44 -04:00
test_plap.cpp Add a test program for PLAP provider module 2022-10-17 11:05:44 -04:00
ui_glue.c Add a progress dialog during Connect() 2022-10-17 11:05:44 -04:00
ui_glue.h Add a progress dialog during Connect() 2022-10-17 11:05:44 -04:00