]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/UdpIoLib.h
1. Fix a bug in PXE driver that the PXE boot do not restart if a new boot option...
[mirror_edk2.git] / MdeModulePkg / Include / Library / UdpIoLib.h
index 03618f61bb2faa40d12ca96affa38ec70f9d7a6d..e0b44ce18e6a3c93ab2c8259c4d759d367e73065 100644 (file)
@@ -2,8 +2,8 @@
   This library is used to share code between UEFI network stack modules.\r
   It provides the helper routines to access UDP service. It is used by both DHCP and MTFTP.\r
 \r
-Copyright (c) 2006 - 2010, Intel Corporation.<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at<BR>\r
 http://opensource.org/licenses/bsd-license.php\r
@@ -60,7 +60,7 @@ typedef struct {
 **/\r
 typedef\r
 VOID\r
-(*UDP_IO_CALLBACK) (\r
+(EFIAPI *UDP_IO_CALLBACK) (\r
   IN NET_BUF                *Packet,\r
   IN UDP_END_POINT          *EndPoint,\r
   IN EFI_STATUS             IoStatus,\r
@@ -137,7 +137,7 @@ struct _UDP_IO {
   UINT8                     UdpVersion;\r
 \r
   //\r
-  // Handle used to create/destory UDP child\r
+  // Handle used to create/destroy UDP child\r
   //\r
   EFI_HANDLE                Controller;\r
   EFI_HANDLE                Image;\r
@@ -173,7 +173,7 @@ struct _UDP_IO {
 **/\r
 typedef\r
 EFI_STATUS\r
-(*UDP_IO_CONFIG) (\r
+(EFIAPI *UDP_IO_CONFIG) (\r
   IN UDP_IO                 *UdpIo,\r
   IN VOID                   *Context\r
   );\r
@@ -190,7 +190,7 @@ EFI_STATUS
 **/\r
 typedef\r
 BOOLEAN\r
-(*UDP_IO_TO_CANCEL) (\r
+(EFIAPI *UDP_IO_TO_CANCEL) (\r
   IN UDP_TX_TOKEN           *Token,\r
   IN VOID                   *Context\r
   );\r