Menu

tete009interface

Anonymous

If you get some ideas from my project, please quote with pcxfirefox, and this is my greatest reward. Many thanks.


This wiki page tells you tete009's kernel module tmemutil interface.


  • tete009 head files interface guess
  • Generate tmemutil.dll's Import Libary

tete009 head files interface guess

This is a tete009 header file I guessed.

#ifndef tmemutil_h
#define tmemutil_h

#include <stdint.h>

#if defined(_M_IX86) || defined(_X86_)
typedef int  PRInt32_pcx;
#elif defined(_AMD64_)
typedef long PRInt32_pcx;
#endif

#define NON_TEMPORAL_STORES_NOT_SUPPORTED 0

#ifdef  __cplusplus
extern "C" {
#endif

extern PRInt32_pcx __fastcall AtomicIncrement_tt ( volatile long * );

extern PRInt32_pcx __fastcall AtomicDecrement_tt ( volatile long * );

extern PRInt32_pcx GetAppDirHash_tt ( void );

extern uint32_t GetNonTemporalDataSizeMin_tt ( void );

extern void *  __cdecl memset_nontemporal_tt ( void *dest, int c, size_t count );

#ifdef  __cplusplus
}
#endif

#endif // tmemutil_h

Generate tmemutil.dll's Import Libary

Method 1 gendef

gendef tmemutil.dll
dlltool --dllname tmemutil.dll --def tmemutil.def --output-lib mylib.lib

Method 2 VC

dumpbin tmemutil.dll /exports /out:tmemutil-demo.def

modify tmemutil-demo.def to def standard format tmemutil.def .

lib /def:tmemutil.def /out:mylib.lib

Related

Wiki: Guide

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.