[NDK/RTL]: Fix RtlGetSetBootStatusData prototype and add the BSD Items that can be set with it.

svn path=/trunk/; revision=55345
This commit is contained in:
Alex Ionescu 2012-01-31 02:33:02 +00:00
parent b12e5cfc77
commit 292010dcd6
3 changed files with 26 additions and 12 deletions

View file

@ -3877,12 +3877,12 @@ NTSYSAPI
NTSTATUS NTSTATUS
NTAPI NTAPI
RtlGetSetBootStatusData( RtlGetSetBootStatusData(
HANDLE FileHandle, IN HANDLE FileHandle,
BOOLEAN WriteMode, IN BOOLEAN WriteMode,
DWORD DataClass, IN RTL_BSD_ITEM_TYPE DataClass,
PVOID Buffer, IN PVOID Buffer,
ULONG BufferSize, IN ULONG BufferSize,
DWORD DataClass2 OUT PULONG ReturnLength OPTIONAL
); );
NTSYSAPI NTSYSAPI

View file

@ -367,6 +367,20 @@ extern BOOLEAN NTSYSAPI NLS_MB_OEM_CODE_PAGE_TAG;
#ifdef NTOS_MODE_USER #ifdef NTOS_MODE_USER
//
// Boot Status Data Field Types
//
typedef enum _RTL_BSD_ITEM_TYPE
{
RtlBsdItemVersionNumber,
RtlBsdItemProductType,
RtlBsdItemAabEnabled,
RtlBsdItemAabTimeout,
RtlBsdItemBootGood,
RtlBsdItemBootShutdown,
RtlBsdItemMax
} RTL_BSD_ITEM_TYPE, *PRTL_BSD_ITEM_TYPE;
// //
// Table and Compare result types // Table and Compare result types
// //

View file

@ -686,12 +686,12 @@ RtlCreateBootStatusDataFile(VOID)
*/ */
NTSTATUS NTSTATUS
NTAPI NTAPI
RtlGetSetBootStatusData(HANDLE Filehandle, RtlGetSetBootStatusData(IN HANDLE Filehandle,
BOOLEAN WriteMode, IN BOOLEAN WriteMode,
DWORD DataClass, IN RTL_BSD_ITEM_TYPE DataClass,
PVOID Buffer, IN PVOID Buffer,
ULONG BufferSize, IN ULONG BufferSize,
DWORD DataClass2) OUT PULONG ReturnLength)
{ {
UNIMPLEMENTED; UNIMPLEMENTED;
return STATUS_NOT_IMPLEMENTED; return STATUS_NOT_IMPLEMENTED;