name    d3dgl
type    win32

import kernel32.dll
import ntdll.dll
import advapi32.dll
import user32.dll

debug_channels (ddraw)

@ stdcall Init(ptr) D3DGL_Init
@ stub Deinit
@ stdcall GetCaps(ptr long) D3DGL_GetCaps
@ stdcall Construct(ptr long) D3DGL_Construct
@ stdcall Destruct(ptr) D3DGL_Destruct
@ stdcall AllocStateBlock(ptr ptr) D3DGL_AllocStateBlock
@ stdcall FreeStateBlock(ptr long) D3DGL_FreeStateBlock
@ stdcall DemolishTexture(ptr long) D3DGL_DemolishTexture
@ stdcall StartDP2  (ptr long long ptr long long long long)     D3DGL_StartDP2
@ stdcall StartDP2SD(ptr long long ptr long long long long ptr) D3DGL_StartDP2SD
@ stdcall EmitDP2(ptr ptr ptr long ptr long) D3DGL_EmitDP2
@ stdcall FlushDP2(ptr) D3DGL_FlushDP2
@ stdcall ValidateDevice(ptr ptr) D3DGL_ValidateDevice
