65,187
社区成员




//在CMyCreateVix的定义中:
class CMyCreateVix{
...
public:
static unsigned long CMyCreateVix::SampleGenerateVixBufferDoneCB(PVIXGEN_HANDLE handle, PVIXGEN_CTX context, U32 VixBytesGenerated); //注意是静态的函数
...
};
unsigned long CMyCreateVix::SampleGenerateVixBufferDoneCB(PVIXGEN_HANDLE handle, PVIXGEN_CTX context, U32 VixBytesGenerated){}
typedef struct _vixGenContext
{
...
unsigned long (*VixBufferReadyCallbackRoutine)(); // Callback routine
...
} VIXGEN_CTX, *PVIXGEN_CTX;
PVIXGEN_CTX context;
//在CMyCreateVix的定义中:
class CMyCreateVix{
...
public:
static unsigned long CMyCreateVix::SampleGenerateVixBufferDoneCB(CMyCreateVix& thisObject,PVIXGEN_HANDLE handle, PVIXGEN_CTX context, U32 VixBytesGenerated); //注意是静态的函数
...
};
unsigned long CMyCreateVix::SampleGenerateVixBufferDoneCB(CMyCreateVix& thisObject,PVIXGEN_HANDLE handle, PVIXGEN_CTX context, U32 VixBytesGenerated){}