📄 kitlstub.c
字号:
//
// Copyright (c) Renesas Technology Corp. 2001-2003 All Rights Reserved.
//
// OEM Adaptation Layer
//
//----------------------------------------------------------------------------
//
// FILE : kitlstub.c
// CREATED : 2001.10.26
// MODIFIED : 2003.08.06
// AUTHOR : Renesas Technology Corp.
// HARDWARE : RENESAS HS7751RSTC01H (S1-E, ITS-DS5)
// TARGET OS : Microsoft(R) Windows(R) CE .NET 4.2
// NOTES : Referred ASPEN at the time of modification
// HISTORY :
// 2001.10.26
// - Modified for Hitachi HS7751RSTC01H (S1-E, ITS-DS5)
// 2002.09.27
// - Released
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
//
// Use of this source code is subject to the terms of the Microsoft end-user
// license agreement (EULA) under which you licensed this SOFTWARE PRODUCT.
// If you did not accept the terms of the EULA, you are not authorized to use
// this source code. For a copy of the EULA, please see the LICENSE.RTF on your
// install media.
//
#include <windows.h>
#include <halether.h>
USHORT wLocalMAC[3]; // Saved copy of the mac address
void InitTransport(void)
{
}
void
CreateDeviceName(char *pMyAddr, char *szBuf)
{
// Just copy a name over.
memcpy (szBuf, "NKNoKitl", 9);
}
BOOL EdbgSendUDP(BYTE *pFrameBuffer, // @parm [IN] - Formatting buffer (must be at least 42 + cwLength bytes)
EDBG_ADDR *pDestAddr, // @parm [IN] - Address of destination
USHORT wSrcPort, // @parm [IN] - Source UDP port number
BYTE *pData, // @parm [IN] - User data buffer
UINT16 cwLength ) // @parm [IN] - # of bytes of data in user buffer
{
return FALSE;
}
#ifdef IMGSHAREETH
BOOL OEMEthCurrentPacketFilter(PDWORD pdwRequestedFilter)
{
return FALSE;
}
BOOL
OEMEthMulticastList(PUCHAR pucMulticastAddressList, DWORD dwNoOfAddresses)
{
return FALSE;
}
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -