labview实例
源代码在线查看: lvclassbuffer.h
/**
\date June 17, 2005
\author Qizhen Ruan
*/
#if !defined(BUFFER_H__D11C4B15_1B78_4D62_909F_3EB9C83B5EBA__INCLUDED_)
#define BUFFER_H__D11C4B15_1B78_4D62_909F_3EB9C83B5EBA__INCLUDED_
#if defined (__cplusplus)
extern "C" {
#endif
int __stdcall CreateBuffer(const char data[], int size, char** bufPointer);
int __stdcall DestroyBuffer(char* bufPointer);
int __stdcall GetBufferSize(char* bufPointer, int* size);
int __stdcall GetBufferData(char* bufPointer, char* data);
int __stdcall SetBufferData(char* bufPointer, const char data[]);
int __stdcall CopyBuffer(char* bufPointer, char** newBufPointer);
#if defined (__cplusplus)
} // extern "C"
#endif
#endif // !defined(BUFFER_H__D11C4B15_1B78_4D62_909F_3EB9C83B5EBA__INCLUDED_)