mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-22 15:37:55 -05:00
e16249b672
* define MxLong/MxULong The "long" type has different sizes on different platforms, and this may cause issues. * use DWORD to match RegQueryValueExA arg
25 lines
542 B
C++
25 lines
542 B
C++
#ifndef MXIOINFO_H
|
|
#define MXIOINFO_H
|
|
|
|
#include <windows.h>
|
|
#include <mmsystem.h>
|
|
|
|
#include "mxtypes.h"
|
|
|
|
class MXIOINFO
|
|
{
|
|
public:
|
|
MXIOINFO();
|
|
__declspec(dllexport) ~MXIOINFO();
|
|
|
|
unsigned short Open(const char *filename, DWORD fdwOpen);
|
|
void Close(MxLong arg);
|
|
LONG Seek(LONG lOffset, int iOrigin);
|
|
MxULong Read(HPSTR pch, LONG cch);
|
|
void SetBuffer(LPSTR pchBuffer, LONG cchBuffer, LONG unk);
|
|
unsigned short Descend(LPMMCKINFO pmmcki, const MMCKINFO *pmmckiParent, UINT fuDescend);
|
|
|
|
MMIOINFO m_info;
|
|
};
|
|
|
|
#endif // MXIOINFO_H
|