DLLInterface - #include "DLLInterface.h" #include...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
#include "DLLInterface.h" #include "PackageBase.h" #include <windows.h> ////////////////////////////////////////////////////////////////////////// // DLL plumbing, in case we ever want to use it. ////////////////////////////////////////////////////////////////////////// BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID lpReserved ) { switch (ul_reason_for_call) { case DLL_PROCESS_ATTACH: case DLL_THREAD_ATTACH: case DLL_THREAD_DETACH: case DLL_PROCESS_DETACH: break; } return TRUE; } ////////////////////////////////////////////////////////////////////////// // These routines are just C procedure interfaces to the identically // named methods of your CUserDefComponentBase-derived class. ////////////////////////////////////////////////////////////////////////// void RegisterCallbacks( CUserDefComponentBase* pObj, void* pSMOKObj, READMEMPORT_PROC pReadMemProc, WRITEMEMPORT_PROC pWriteMemProc ) { pObj->RegisterCallbacks( pSMOKObj, pReadMemProc, pWriteMemProc); } void GetPortDescription( CUserDefComponentBase* pObj, INPORTDESC** pInputPorts,
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/12/2009 for the course CSE 378 taught by Professor Staff during the Spring '08 term at University of Washington.

Page1 / 2

DLLInterface - #include &quot;DLLInterface.h&quot; #include...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online