0
0
mirror of https://github.com/fralx/LimeReport.git synced 2025-10-01 19:51:30 +03:00
Files
.github
.idea
3rdparty
dark_style_sheet
easyprofiler
light_style_sheet
zint-2.10.0
backend
fonts
tests
tools
2of5.c
CMakeLists.txt
DEVELOPER
LICENSE
auspost.c
aztec.c
aztec.h
big5.h
bmp.c
bmp.h
channel_precalcs.h
codablock.c
code.c
code1.c
code1.h
code128.c
code128.h
code16k.c
code49.c
code49.h
common.c
common.h
composite.c
composite.h
dllversion.c
dmatrix.c
dmatrix.h
dotcode.c
eci.c
eci.h
eci_sb.h
emf.c
emf.h
font.h
gb18030.c
gb18030.h
gb2312.c
gb2312.h
general_field.c
general_field.h
gif.c
gridmtx.c
gridmtx.h
gs1.c
gs1.h
gs1_lint.h
hanxin.c
hanxin.h
imail.c
iso3166.h
iso4217.h
ksx1001.h
large.c
large.h
library.c
libzint.rc
mailmark.c
maxicode.c
maxicode.h
medical.c
ms_stdint.h
output.c
output.h
pcx.c
pcx.h
pdf417.c
pdf417.h
plessey.c
png.c
postal.c
ps.c
qr.c
qr.h
raster.c
reedsol.c
reedsol.h
reedsol_logs.h
rss.c
rss.h
sjis.c
sjis.h
stdint_msvc.h
svg.c
telepen.c
tif.c
tif.h
tif_lzw.h
ultra.c
upcean.c
vector.c
zfiletypes.h
zint.h
zintconfig.h
zintconfig.h.in
backend_qt
backend_tcl
cmake
debian
docs
extras
frontend
frontend_qt
getopt
tools
win32
.editorconfig
.gitignore
CMakeLists.txt
COPYING
ChangeLog
README
SetPaths.cmake
TODO
cmake_uninstall.cmake.in
readme-cmake
zint-qt.desktop
zint-qt.png
zint.nsi
zint.spec
3rdparty.pro
CMakeLists.txt
zint-2.10.0-src.tar.gz
console
demo_r1
demo_r2
designer
designer_plugin
docs
include
limereport
lrdview
tests
translations
.appveyor.yml
.gitignore
.remarkrc
.travis.yml
CMakeLists.txt
COPYING
LICENSE
README.md
common.pri
config.h.in
followTo.patch
limereport.pri
limereport.pro
qzint.pri
LimeReport/3rdparty/zint-2.10.0/backend/dllversion.c
Rodrigo Torres 6822ade01b Update Zint
2022-01-26 09:16:57 -03:00

33 lines
930 B
C

/* Sed: http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/programmersguide/versions.asp */
#if defined (_WIN32) && (defined(_USRDLL) || defined(DLL_EXPORT) || defined(PIC))
#include <windows.h>
#include <shlwapi.h>
#include "zintconfig.h"
#ifdef __cplusplus
extern "C"
{
#endif
__declspec(dllexport) HRESULT DllGetVersion (DLLVERSIONINFO2* pdvi);
#ifdef __cplusplus
}
#endif
HRESULT DllGetVersion (DLLVERSIONINFO2* pdvi)
{
if (!pdvi || (sizeof(*pdvi) != pdvi->info1.cbSize))
return (E_INVALIDARG);
pdvi->info1.dwMajorVersion = ZINT_VERSION_MAJOR;
pdvi->info1.dwMinorVersion = ZINT_VERSION_MINOR;
pdvi->info1.dwBuildNumber = ZINT_VERSION_RELEASE;
pdvi->info1.dwPlatformID = DLLVER_PLATFORM_WINDOWS;
if (sizeof(DLLVERSIONINFO2) == pdvi->info1.cbSize)
pdvi->ullVersion = MAKEDLLVERULL(ZINT_VERSION_MAJOR, ZINT_VERSION_MINOR, ZINT_VERSION_RELEASE, ZINT_VERSION_BUILD);
return S_OK;
}
#endif /* _WIN32 */