这是此函数的C ++标头。我已经导入了一切,除了那个calllback我不知道怎么做。
struct abs_operation;
typedef struct abs_operation ABS_OPERATION; /* forward declaration */
typedef void (BSAPI *ABS_CALLBACK) ( const ABS_OPERATION*, ABS_DWORD, void*);
struct abs_operation {
ABS_CALLBACK Callback; ///< Pointer to application-defined function, implementing operation callback.
} ;
答案 0 :(得分:1)
根据您之前问题的知识,我想是这样的:
type
PABSOperation = ^TABSOperation;
TABSCallback = procedure(const Operation: PABSOperation;
Flags: DWORD; Ptr: Pointer); stdcall;
TABSOperation = record
Callback: TABSCallback;
end;