rtpdll.c
上传用户:biaoge6808
上传日期:2007-08-15
资源大小:42k
文件大小:1k
- /*
- NOTICE:
- This document contains information that is proprietary to RADVISION LTD..
- No part of this publication may be reproduced in any form whatsoever without
- written prior approval by RADVISION LTD..
- RADVISION LTD. reserves the right to revise this publication and make changes
- without obligation to notify any person of such revisions or changes.
- */
- #pragma warning (push,3)
- #define STRICT
- #include <windows.h>
- #pragma warning (pop)
- #include <rvcommon.h>
- #include <rtp.h>
- #include <rtcp.h>
- #include <payload.h>
- static HINSTANCE hinst;
- HINSTANCE getHInst(void)
- {
- return hinst;
- }
- BOOL WINAPI DllMain(
- IN HINSTANCE hinstDLL, /* handle to DLL module */
- IN DWORD fdwReason, /* reason for calling function */
- IN LPVOID lpvReserved /* reserved */
- )
- {
- if (lpvReserved);
- switch(fdwReason)
- {
- case DLL_PROCESS_ATTACH:
- hinst=hinstDLL;
- break;
- case DLL_PROCESS_DETACH:
- break;
- }
- return TRUE;
- }
- RVAPI void RVCALLCONV __ForceLink__(void)
- {
- rtpInit();
- rtcpInit();
- rtpPCMUGetHeaderLength();
- }