找回密码
 点一下
查看: 2155|回复: 2

[求助]Storm.dll

[复制链接]
发表于 2007-10-12 19:35:55 | 显示全部楼层 |阅读模式
Storm.dll里的函数原形谁知道??

只知道函数名没用啊,要知道参数和返回值等等。。。。。

本人想研究研究。。。。。


外国网站打不开了。下面对不对?

终于完全搞定了魔兽自带的Storm.dll了。。。。。。
放上所有函数名:
**note - these are all __stdcall unless otherwise noted


120    SNetPerformUpgrade(int)
122    SNetReceiveTurns(void **,int,int,int,int);

132    int __fastcall 0CDebugSCritSect(LPCRITICAL_SECTION lpCriticalSection)
141    public: __thiscall CDebugSRWLock::CDebugSRWLock(void)
142    public: __thiscall CSRWLock::CSRWLock(void)
143:    public: __thiscall SCritSect::SCritSect(void)
144    public: __thiscall SEvent::SEvent(BOOL bManualReset,BOOL bInitialState)
145    public: __thiscall SSyncObject::SSyncObject(void)
146    public: __thiscall CDebugSCritSect::~CDebugSCritSect(void)
147    public: __thiscall CDebugSRWLock::~CDebugSRWLock(void)
148    public: __thiscall CSRWLock::~CSRWLock(void)
149    public: __thiscall SCritSect::~SCritSect(void)
152    public: __thiscall SSyncObject::~SSyncObject(void)
153    SFile::Close(SFile *)
154    public: static int __fastcall SThread::Create(unsigned int (__stdcall *)(void *),void *,class SThread &,char *)
155    SFile::CreateOverlapped(SOVERLAPPED *)
156    SFile::DestroyOverlapped(OVERLAPPED *)
157    SFile::EnableHash(bool)
158    public: void __thiscall CDebugSCritSect::Enter(char const *,unsigned long)
159    public: void __thiscall CDebugSRWLock::Enter(int,char const *,unsigned long)
160    public: void __thiscall CSRWLock::Enter(int)
161    int SCritSect::enter(void)
162    SFile::FileExists(char const *)
163    SFile::GetActualFileName(SFile *,char *,unsigned long)
164    SFile::GetBasePath(char *,unsigned long)
165    SFile::GetFileSize(SFile *,unsigned long)
166    public: void __thiscall CDebugSCritSect::Leave(char const *,unsigned long)
167    public: void __thiscall CDebugSRWLock::Leave(int,char const *,unsigned long)
168    public: void __thiscall CSRWLock::Leave(int)
169    int SCritSect::leave(void)
170    SFile::Load(SArchive *,char const *,void **,unsigned long *,unsigned long,unsigned long,SOVERLAPPED *)
171    SFile::LoadFile(char const *,void **,unsigned long *,unsigned long, SOVERLAPPED *)
172    SFile::Open(char const *,SFile **)
173    SFile::PollOverlapped(SOVERLAPPED *)
174    SFile::Read(class SFile *,void *,unsigned long,unsigned long *,struct SOVERLAPPED *,struct _TASYNCPARAMBLOCK *)
175    public: int __thiscall SEvent::Reset(void)
176    SFile::ResetOverlapped(SOVERLAPPED *)
177    int __fastcall SCreateThread(unsigned int (__stdcall *)(void*),void*,unsigned int*,void*,char*);
188    public: int __thiscall SEvent::Set(void)
189    SFile::SetBasePath(char const *)
190    SFile::SetFilePointer(SFile *,long,long*,unsigned long)
191    SFile::Unload(void *)
193    int __stdcall WaitMultiplePtr(BOOL bWaitAll,DWORD dwMilliseconds)
194    SFile::WaitOverlapped(struct SOVERLAPPED *)192    int __stdcall Wait(DWORD dwMilliseconds)

251    SFileAuthenticateArchive(int,int)
252    SFileCloseArchive(HANDLE hArchive)
253    SFileCloseFile(HANDLE hFile)
262    SFileDestroy()
264    SFileGetFileArchive(HANDLE hFile,int)
265    SFileGetFileSize(HANDLE hFile, int *fileSizeHigh)
266    SFileOpenArchive(char *name, int flags, int, HANDLE *hArchive)
267    SFileOpenFile(int,int)
268    SFileOpenFileEx(HANDLE hArchive, char *fileName, int, HANDLE *hFile)
269    SFileReadFile(HANDLE hFile, void *buffer, int toRead, int *read, int)
270    SFileSetBasePath(int)
271    SFileSetFilePointer(HANDLE hFile, int filePos, int *filePosHigh, int method)
272    SFileSetLocale(__int16)
273    SFileGetBasePath(int,int)
275    SFileGetArchiveName(int,int,int)
276    SFileGetFileName(int,int,int)
299    SFileAuthenticateArchiveEx(int,int,int,LONG lDistanceToMove,int,DWORD NumberOfBytesRead)

321    SBmpDecodeImage
323    SBmpLoadImage(int,int,int,int,int,int,int)
324    SBmpSaveImageSBmpSaveImage(int,int,int,int,int,int)
325    SBmpAllocLoadImage(char *filename,int,int,int,int,int,int,int)
326    SBmpSaveImageEx(char *str,int,int,int,DWORD NumberOfBytesWritten,int,LPCVOID lpBuffer)

331    SCodeCompile(char *src,int,int,int,int,int)
335    SCodeGetPseudocode(int,int,int)

// not sure about official name for this one
342    GetScreenshot(char *path);


382    SGdi1
383    SGdi2
392    SGdi4

401    void *__stdcall SMemAlloc(int amount,char *filename,int line,int defaultValue)
403    SMemFree(int,int,int,int)
405    SMemReAlloc(int,int,int,int,int);

421    int SRegLoadData(HKEY hKey,LPCSTR lpValueName,HKEY phkResult,LPBYTE lpData,int,DWORD Type);
423 int SRegQueryValue(char *key,char *value,BYTE flags,char *result)

434    STrans1
436    STrans2
437    STrans4
438    STrans3
439    STransLoadI(int,int,int,int);
440    STrans7
443    STrans5
447    STransLoadE(int,int,int,int);

451    SVidDestroy
453    SVidInitialize
454    SVidPlayBegin
455    SVidPlayBeginFromMemory
456    SVidPlayContinue
457    SVidPlayContinueSingle

461    SErrDisplayError(int,int,DWORD ExitCode,int,int,UINT uExitCode)
462    SErrGetErrorStr
463    SErrGetLastError
465    SErrSetLastError(DWORD dwErrCode)

475    ? - ProcessToken

491    int SMemCpy(void *dest, void *src, int count)
494    int SMemZero(void *buf, int count)

501    int SStrNCpy(char *dst, char *src, int count)
502    DWORD SStrHash(LPCSTR String, BOOLEAN IsFilename, DWORD Seed)
501 int SStrNCat(char *base, char *new, int max_length);

508    int SStrCmp(char *str1,char *str2,size_t size);
509    int SStrCmpI(char *str1,char *str2,size_t size);
510    int SStrUpr(char *str)
Note - 569,571 and 570,572 are the same functions
569    char *__fastcall SStrChr(char *str,char c); // Returns the substring after the first occurance of the specific character in the string.  Returns NULL if the character is not found.
570    char *__fastcall SStrChrR(const char *str,char c); // Returns the address of the final occurance of c within the string str.  If it is not found, NULL is returned.
571    char *__stdcall SStrChr(char *str,char c); // Returns the substring after the first occurance of the specific character in the string.  Returns NULL if the character is not found.
572    char *__fastcall SStrChrR(const char *str,char c); // Returns the address of the final occurance of c within the string str.  If it is not found, NULL is returned.
578 SStrPrintf(char *str, size_t size, const char *format, ...);
579    SStrLwr(char *str)

548     Add to log file (not sure about official name)

601    SBigAdd(int,int,int)
602    SBigAnd(int,int,int)
603    SBigCompare(BigBuffer buf1,BigBuffer buf2)
604    SBigCopy(int,int)
605    SBigDec(int,int)
606    SBigDel(BigBuffer buf)
607    SBigDiv(int,int,int)
608    SBigFindPrime(int,int,int,int)
609    SBigFromBinary(BigBuffer *,const void *str,unsigned int num)
610    SBigFromStr(int,int)
611    SBigFromStream(int,int,int,int)
612    SBigFromUnsigned(BigBuffer buf,unsigned int value)
613    SBigGcd(int,int,int)
614    SBigInc(int,int)
615    SBigInvMod(int,int,int)
616    SBigIsEven(BigBuffer buf)
617    SBigIsOdd(BigBuffer buf)
618    SBigIsOne(BigBuffer buf)
619    SBigIsPrime(BigBuffer buf)
620    SBigIsZero(BigBuffer buf)
621    SBigMod(int,int,int)
622    SBigMul(int,int,int)
623    SBigMulMod(int,int,int,int)
624    SBigNew(BigBuffer **Buffer)
625    SBigNot(int,int)
626    SBigOr(int,int,int)
627    SBigPow(int,int,int)
628    SBigPowMod(int,int,int,int)
629    SBigRand(int,int,int)
630    SBigSet2Exp(int,int)
631    SBigSetOne(BigBuffer *buf)
632    SBigSetZero(BigBuffer *buf)
633    SBigShl(int,int,int)
634    SBigShr(int,int,int)
635    SBigSquare(int,int)
636    SBigSub(int,int,int)
637    SBigToBinaryArray(int,int,int)
638    SBigToBinaryBuffer(int,int,int,int)
639    SBigToBinaryPtr(int,int,int)
640    SBigToStrArray(int,int)
641    SBigToStrBuffer(int,char *dst,int count)
642    SBigToStrPtr(int,int)
643    SBigToStreamArray(int,int,int)
644    SBigToStreamBuffer(int,int,int,int)
645    SBigToStreamPtr(int,int,int)
646    SBigToUnsigned(int,int)
647    SBigXor(int,int,int)


649    SSignatureVerifyStream_Begin(int)
648    SSignatureVerify(int,int,int,int)
650    SSignatureVerifyStream_ProvideData(int)
651    SSignatureVerifyStream_Finish(int)
652    SSignatureGenerate(int,int,int,int,int,int)
653    SSignatureVerifyStream_GetSignatureLength()


函数的原型上面Red_Wolf已经给出地址。。。。。
发表于 2007-10-12 20:46:38 | 显示全部楼层
回复

使用道具 举报

 楼主| 发表于 2007-10-12 20:57:01 | 显示全部楼层
引用第1楼Red_Wolf于2007-10-12 20:46发表的  :
http://shadowflare.samods.org/inside_mopaq/

or

http://www.campaigncreations.org/starcraft/inside_mopaq/
.......


3Q。。。。。。。。。。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 点一下

本版积分规则

Archiver|移动端|小黑屋|地精研究院

GMT+8, 2024-11-23 00:22 , Processed in 0.186348 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表