注册 登录
编程论坛 VC++/MFC

有没有人会写动态链接库啊!只给了一个头文件!

xiajj 发布于 2014-02-25 22:27, 637 次点击
// return the Channel Count of the device
SEFUNCTIONS_API
int __stdcall voseGetChannelCount();
// set Pixel data Report type to Volt, dBm, or wavelength
SEFUNCTIONS_API
void __stdcall voseSetPixelReportMode(enum ePixelMode eMode);
// acquire sensor/spectrum data and calculate channel results
SEFUNCTIONS_API
int __stdcall voseAcquireData();
// get the sensor/spectrum data.
// The size of the data buffer should be at least the Pixel Count.
SEFUNCTIONS_API
void __stdcall voseGetSensorData(double* pSensorData);
// get the channel wavelengths.
// The size of the data buffer should be at least the Channel Count.
SEFUNCTIONS_API
void __stdcall voseGetChannelWavelength(double* pWavelength);
// get the channel powers.
// The size of the data buffer should be at least the Channel Count.
SEFUNCTIONS_API
void __stdcall voseGetChannelPower(double* pPower);
// get the channel OSNRs.
// The size of the data buffer should be at least the Channel Count.
SEFUNCTIONS_API
void __stdcall voseGetChannelOSNR(double* pOSNR);
// get the whole content of the DPRAM. The buffer size must be 4096.
SEFUNCTIONS_API
void __stdcall voseGetAllDPRAMData(unsigned char* pBuf);
// close the communication and clean up vose
SEFUNCTIONS_API BOOL __stdcall voseStop();
#ifdef __cplusplus
}
#endif
#endif //#ifndef _VOSE32_H_
2 回复
#2
wp2319572014-02-25 22:31
你想干嘛呢  
#3
yuccn2014-03-02 12:28
论坛中很多人都会写。
不过很多人估计不知道你想干嘛问嘛
1