kernel - EXPORT_SYMBOL() for Windows drivers -


is there wdm mechanism, similar export_symbol under linux, such 1 can use symbols driver (a.sys) in driver (b.sys)?

this same mechanism user mode, drivers same pe images user mode. simplest approach mark functions wish export _declspec(dllexport). , add header definition _declspec(dllimport):

_declspec(dllexport) void exportsymbol1(void); void exportsymbol1(void) { kdprint(("exported call\n")); }

and

_declspec(dllimport) void exportsymbol1(void);

also can use export driver approach (http://msdn.microsoft.com/en-us/library/windows/hardware/ff542891(v=vs.85).aspx)


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -