| OLD | NEW |
| 1 // Copyright 2014 PDFium Authors. All rights reserved. | 1 // Copyright 2014 PDFium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com | 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com |
| 6 | 6 |
| 7 | 7 |
| 8 #ifndef _FPDFVIEW_H_ | 8 #ifndef _FPDFVIEW_H_ |
| 9 #define _FPDFVIEW_H_ | 9 #define _FPDFVIEW_H_ |
| 10 | 10 |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 extern const char g_ModuleCodes[]; | 148 extern const char g_ModuleCodes[]; |
| 149 | 149 |
| 150 // Exported Functions | 150 // Exported Functions |
| 151 #ifdef __cplusplus | 151 #ifdef __cplusplus |
| 152 extern "C" { | 152 extern "C" { |
| 153 #endif | 153 #endif |
| 154 | 154 |
| 155 // Function: FPDF_InitLibrary | 155 // Function: FPDF_InitLibrary |
| 156 // Initialize the FPDFSDK library | 156 // Initialize the FPDFSDK library |
| 157 // Parameters: | 157 // Parameters: |
| 158 //» » » hInstance» -» For WIN32 system only: the insta
nce of the executable or DLL module. | 158 //» » » None |
| 159 // Return value: | 159 // Return value: |
| 160 // None. | 160 // None. |
| 161 // Comments: | 161 // Comments: |
| 162 // You have to call this function before you can call any P
DF processing functions. | 162 // You have to call this function before you can call any P
DF processing functions. |
| 163 | 163 |
| 164 DLLEXPORT void STDCALL FPDF_InitLibrary(void* hInstance); | 164 DLLEXPORT void STDCALL FPDF_InitLibrary(); |
| 165 | 165 |
| 166 | 166 |
| 167 // Function: FPDF_DestroyLibary | 167 // Function: FPDF_DestroyLibary |
| 168 // Release all resources allocated by the FPDFSDK library. | 168 // Release all resources allocated by the FPDFSDK library. |
| 169 // Parameters: | 169 // Parameters: |
| 170 // None. | 170 // None. |
| 171 // Return value: | 171 // Return value: |
| 172 // None. | 172 // None. |
| 173 // Comments: | 173 // Comments: |
| 174 // You can call this function to release all memory blocks
allocated by the library. | 174 // You can call this function to release all memory blocks
allocated by the library. |
| (...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 740 | 740 |
| 741 // Function: FPDF_BStr_Clear | 741 // Function: FPDF_BStr_Clear |
| 742 // Helper function to clear a byte string. | 742 // Helper function to clear a byte string. |
| 743 DLLEXPORT FPDF_RESULT STDCALL FPDF_BStr_Clear(FPDF_BSTR* str); | 743 DLLEXPORT FPDF_RESULT STDCALL FPDF_BStr_Clear(FPDF_BSTR* str); |
| 744 | 744 |
| 745 #ifdef __cplusplus | 745 #ifdef __cplusplus |
| 746 }; | 746 }; |
| 747 #endif | 747 #endif |
| 748 | 748 |
| 749 #endif // _FPDFVIEW_H_ | 749 #endif // _FPDFVIEW_H_ |
| OLD | NEW |