mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-27 01:56:28 -05:00
e7b5ea53df
Was intended as a simple code improvement, however it also seems to make WinMain, MxString::operator=, MxDSFile::Open 100% (all of which just needed registers to be switched around)
24 lines
525 B
C++
24 lines
525 B
C++
#ifndef MXIOINFO_H
|
|
#define MXIOINFO_H
|
|
|
|
#include <windows.h>
|
|
|
|
#include "mmsystem.h"
|
|
|
|
class MXIOINFO
|
|
{
|
|
public:
|
|
MXIOINFO();
|
|
__declspec(dllexport) ~MXIOINFO();
|
|
|
|
unsigned short Open(const char *filename, DWORD fdwOpen);
|
|
void Close(long arg);
|
|
LONG Seek(LONG lOffset, int iOrigin);
|
|
unsigned long 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
|