# plugin.h

プラグインで読み込むTPI共通ヘッダ。 [詳細]

`#include <wx/wx.h>`

ソースコードを見る。

## データ構造
struct | _TPI_tagLIBINFO
struct | _TPI_tagFILEINFO
struct | _TPI_tagARCHIVEINFO
struct | _TPI_tagSWITCHES
struct | _TPI_tagPROCESSINFO
## マクロ定義
#define | TPI_ERROR_SUCCESS TRUE
#define | TPI_ERROR_UNDEFINED 2000
#define | TPI_ERROR_U_LOAD_LIBRARY TPI_ERROR_UNDEFINED + 1
#define | TPI_ERROR_U_USE_LIBRARY TPI_ERROR_UNDEFINED + 2
#define | TPI_ERROR_U_FREE_LIBRARY TPI_ERROR_UNDEFINED + 3
#define | TPI_ERROR_DEFINED 3000
#define | TPI_ERROR_D_PARAMETER TPI_ERROR_DEFINED + 1
#define | TPI_ERROR_D_UNSUPPORTED TPI_ERROR_DEFINED + 2
#define | TPI_ERROR_D_SKIPPED TPI_ERROR_DEFINED + 3
#define | TPI_ERROR_D_OUTOFMEMORY TPI_ERROR_DEFINED + 4
#define | TPI_ERROR_D_USEMEMORY TPI_ERROR_DEFINED + 5
#define | TPI_ERROR_T_IO_MISC 0
#define | TPI_ERROR_T_IO_ARCHIVE TPI_ERROR_T_IO_MISC + 100
#define | TPI_ERROR_T_IO_FILE TPI_ERROR_T_IO_MISC + 200
#define | TPI_ERROR_T_IO_WORKING TPI_ERROR_T_IO_MISC + 300
#define | TPI_ERROR_T_IO_DIRECTORY TPI_ERROR_T_IO_MISC + 400
#define | TPI_ERROR_IO_MISC 4000
#define | TPI_ERROR_IO_NOTFOUND TPI_ERROR_IO_MISC + 1
#define | TPI_ERROR_IO_ACCESS TPI_ERROR_IO_MISC + 2
#define | TPI_ERROR_IO_OPEN TPI_ERROR_IO_MISC + 3
#define | TPI_ERROR_IO_CLOSE TPI_ERROR_IO_MISC + 4
#define | TPI_ERROR_IO_READ TPI_ERROR_IO_MISC + 5
#define | TPI_ERROR_IO_WRITE TPI_ERROR_IO_MISC + 6
#define | TPI_ERROR_IO_GETINFO TPI_ERROR_IO_MISC + 7
#define | TPI_ERROR_IO_POINT TPI_ERROR_IO_MISC + 8
#define | TPI_ERROR_IO_COPY TPI_ERROR_IO_MISC + 9
#define | TPI_ERROR_IO_MOVE TPI_ERROR_IO_MISC + 10
#define | TPI_ERROR_IO_DELETE TPI_ERROR_IO_MISC + 11
#define | TPI_ERROR_IO_SETINFO TPI_ERROR_IO_MISC + 12
#define | TPI_ERROR_ARC_MISC TPI_ERROR_IO_MISC + TPI_ERROR_T_IO_ARCHIVE + 20
#define | TPI_ERROR_ARC_UNSUPPORTED TPI_ERROR_IO_MISC + TPI_ERROR_T_IO_ARCHIVE + TPI_ERROR_ARC_MISC + 1
#define | TPI_ERROR_ARC_ENCRYPTED TPI_ERROR_IO_MISC + TPI_ERROR_T_IO_ARCHIVE + TPI_ERROR_ARC_MISC + 2
#define | TPI_ERROR_ARC_BROKEN_MISC TPI_ERROR_IO_MISC + TPI_ERROR_T_IO_ARCHIVE + 30
#define | TPI_ERROR_ARC_BROKEN_SUM TPI_ERROR_IO_MISC + TPI_ERROR_T_IO_ARCHIVE + TPI_ERROR_ARC_BROKEN_MISC + 1
#define | TPI_ERROR_ARC_BROKEN_SIZE TPI_ERROR_IO_MISC + TPI_ERROR_T_IO_ARCHIVE + TPI_ERROR_ARC_BROKEN_MISC + 2
#define | TPI_ERROR_ARC_BROKEN_HEADER TPI_ERROR_IO_MISC + TPI_ERROR_T_IO_ARCHIVE + TPI_ERROR_ARC_BROKEN_MISC + 3
#define | TPI_INFO_VERSION_MAJOR 0x0001
#define | TPI_INFO_VERSION_MINOR 0x0002
#define | TPI_INFO_VERSION_API 0x0003
#define | TPI_INFO_SUPPORTED_TYPE 0x0004
#define | TPI_INFO_SUPPORTED_SUFFIX 0x0005
#define | TPI_COMMAND_ADD 0x0001
#define | TPI_COMMAND_EXTRACT 0x0002
#define | TPI_COMMAND_DELETE 0x0003
#define | TPI_COMMAND_UPDATE 0x0004
#define | TPI_COMMAND_TEST 0x0005
#define | TPI_COMMAND_REPAIR 0x0006
#define | TPI_COMMAND_MOVE 0x0007
#define | TPI_COMMAND_SFX 0x0011
#define | TPI_COMMAND_UNSFX 0x0012
#define | TPI_NOTIFY_COMMON 0x0001
#define | TPI_NOTIFY_SETPARAM 0x0002
#define | TPI_MESSAGE_STATUS 0x0001
#define | TPI_MESSAGE_ERROR 0x0002
#define | TPI_MESSAGE_WARNING 0x0003
#define | TPI_STATUS_OPENARCHIVE 0x0001
#define | TPI_STATUS_CLOSEARCHIVE 0x0002
#define | TPI_STATUS_SEEKFILE 0x0003
#define | TPI_STATUS_BEGINPROCESS 0x0004
#define | TPI_STATUS_INPROCESS 0x0005
#define | TPI_STATUS_ENDPROCESS 0x0006
#define | TPI_STATUS_TESTARCHIVE 0x0007
#define | TPI_STATUS_COPYARCHIVE 0x0008
#define | TPI_CALLBACK_CONTINUE TRUE
#define | TPI_CALLBACK_CANCEL 0x1000
#define | TPI_CALLBACK_UNSUPPORTED 0x1001
#define | TPI_ATTRIBUTE_READONLY 0x00000001
#define | TPI_ATTRIBUTE_HIDDEN 0x00000002
#define | TPI_ATTRIBUTE_SYSTEM 0x00000004
#define | TPI_ATTRIBUTE_DIRECTORY 0x00000010
#define | TPI_ATTRIBUTE_ARCHIVE 0x00000020
#define | TPI_ATTRIBUTE_ENCRYPTED 0x00004000
## 型定義
typedef struct _TPI_tagLIBINFO | TPI_LIBINFO
typedef struct _TPI_tagFILEINFO | TPI_FILEINFO
typedef struct _TPI_tagARCHIVEINFO | TPI_ARCHIVEINFO
typedef struct _TPI_tagSWITCHES | TPI_SWITCHES
typedef struct _TPI_tagPROCESSINFO | TPI_PROCESSINFO
typedef int(__stdcall * | TPI_PROC )(unsigned int _uMsg, void *_pInfo)
## 関数
int __stdcall | GetPluginInformation (unsigned int _uInfoId, wxULongLong _llSubOption, void *_pPtr)
int __stdcall | LoadPlugin (const wxString &_szArcName, wxULongLong _llSubOption)
int __stdcall | FreePlugin (void *_pReserved)
int __stdcall | CheckArchive (const wxString &_szArcName, int *_nFileCount)
int __stdcall | OpenArchive (const wxString &_szArcName, void **_hArchive)
int __stdcall | CloseArchive (void *_hArchive)
int __stdcall | GetFileInformation (void *_hArchive, TPI_FILEINFO *_fiInfo, bool _bFirst)
int __stdcall | GetArchiveInformation (void *_hArchive, TPI_ARCHIVEINFO *_aiInfo)
int __stdcall | Command (unsigned int _uCommand, TPI_SWITCHES *_swInfo, const wxString &_szArcName, const wxArrayString &_szFiles)
int __stdcall | SetCallbackProc (TPI_PROC _prArcProc)

## 説明

プラグインで読み込むTPI共通ヘッダ。

バージョン:

Id
  plugin.h,v 1.11 2006/08/25 10:55:54 sirakaba Exp