PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
init.h
Go to the documentation of this file.
1// Copyright (c) 2009-2025 Avanquest Software. All rights reserved.
2
3#ifndef PDFSDK_CORE_INIT_H_INCLUDED_
4#define PDFSDK_CORE_INIT_H_INCLUDED_
5
11#include <pdfsdk/core/api_macro.h>
12#include <pdfsdk/errors.h>
13
14#ifdef __cplusplus
15extern "C" {
16#endif
17
18typedef struct
19{
20 const wchar_t* resourcesDirectoryPath;
21 const wchar_t* tempDirectoryPath;
22 const wchar_t* appDataDirectoryPath;
23
31
32PDF_CORE_API PDErrCode PDFSDK_CALLCONV PDInit(const char* licenseKey, const PDInitData* initData, const char* tags);
33PDF_CORE_API PDErrCode PDFSDK_CALLCONV PDDone();
34
35PDF_CORE_API const char* PDFSDK_CALLCONV PDGetVersionString();
36
37PDF_CORE_API void PDFSDK_CALLCONV PDSetErrMessage(const char* msg);
38PDF_CORE_API const char* PDFSDK_CALLCONV PDGetErrMessage();
39
40PDF_CORE_API const wchar_t* PDFSDK_CALLCONV PDGetTempDirectory();
41PDF_CORE_API const wchar_t* PDFSDK_CALLCONV PDGetResourcesDirectory();
42
43PDF_CORE_API void PDFSDK_CALLCONV PDHandleAcquire(void*);
44PDF_CORE_API void PDFSDK_CALLCONV PDHandleRelease(void*);
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif // PDFSDK_CORE_INIT_H_INCLUDED_
Error codes.
int32_t PDErrCode
Definition errors.h:44
Definition init.h:19
bool isPreviewer
Definition init.h:29