Files
Dendraspis 4b4a494c61 v2.26.0
2023-08-22 14:33:22 +02:00

30 lines
646 B
C

#pragma once
#include <unknwn.h>
// {A933B077-7EC2-42CC-8110-91DE21116C1A}
static const GUID IID_IFrameServer = {0xa933b077,0x7ec2,0x42cc,{0x81,0x10,0x91,0xde,0x21,0x11,0x6c,0x1a}};
struct ServerInfo
{
int Width;
int Height;
int FrameRateNum;
int FrameRateDen;
int FrameCount;
int ColorSpace;
int BitsPerPixel;
};
struct IFrameServer : IUnknown
{
virtual HRESULT __stdcall OpenFile(WCHAR* file) = NULL;
virtual HRESULT __stdcall GetFrame(int position, void** frame, int& pitch) = NULL;
virtual ServerInfo* __stdcall GetInfo() = NULL;
virtual WCHAR* __stdcall GetError() = NULL;
};