/** @file\r
OEM hook status code library functions with no library constructor/destructor\r
\r
- Copyright (c) 2006, Intel Corporation\r
- All rights reserved. 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\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ Copyright (c) 2006 - 2013, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
Module Name: Nt32OemHookStatusCodeLib.c\r
\r
//\r
// The package level header files this module uses\r
//\r
-#include <FrameworkPei.h>\r
-#include <FrameworkModulePei.h>\r
#include <WinNtPeim.h>\r
\r
//\r
// The protocols, PPI and GUID defintions for this module\r
//\r
#include <Guid/StatusCodeDataTypeId.h>\r
+#include <Guid/StatusCodeDataTypeDebug.h>\r
#include <Ppi/NtThunk.h>\r
//\r
// The Library classes this module consumes\r
mWinNt->WriteFile (\r
mStdOut,\r
Buffer,\r
- CharCount,\r
+ (DWORD)CharCount,\r
(LPDWORD)&CharCount,\r
NULL\r
);\r
mWinNt->WriteFile (\r
mStdOut,\r
Buffer,\r
- CharCount,\r
+ (DWORD)CharCount,\r
(LPDWORD)&CharCount,\r
NULL\r
);\r