Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

123 lines
1.9 KiB

/*++
Copyright (c) 1993 Microsoft Corporation
Module Name:
sppartp.h
Abstract:
Private header file for partitioning engine and UI.
Author:
Ted Miller (tedm) 16-Sep-1993
Revision History:
--*/
#ifndef _SPPARTITP_
#define _SPPARTITP_
#define MBR_SIGNATURE 0xaa55
BOOLEAN
SpPtDoPartitionSelection(
IN OUT PDISK_REGION *Region,
IN PWSTR RegionDescription,
IN PVOID SifHandle,
IN BOOLEAN Unattended,
IN PWSTR SetupSourceDevicePath,
IN PWSTR DirectoryOnSetupSource
);
BOOLEAN
SpPtDoCreate(
IN PDISK_REGION pRegion,
OUT PDISK_REGION *pActualRegion, OPTIONAL
IN BOOLEAN ForNT
);
NTSTATUS
SpFatFormat(
IN PDISK_REGION Region
);
ULONG
SpComputeSerialNumber(
VOID
);
NTSTATUS
SpPtCommitChanges(
IN ULONG DiskNumber,
OUT PBOOLEAN AnyChanges
);
VOID
SpPtDoCommitChanges(
VOID
);
NTSTATUS
FmtFillFormatBuffer(
IN ULONG NumberOfSectors,
IN ULONG SectorSize,
IN ULONG SectorsPerTrack,
IN ULONG NumberOfHeads,
IN ULONG NumberOfHiddenSectors,
OUT PVOID FormatBuffer,
IN ULONG FormatBufferSize,
OUT PULONG SuperAreaSize,
IN PULONG BadSectorsList,
IN ULONG NumberOfBadSectors,
OUT PUCHAR SystemId
);
#ifdef _X86_
VOID
SpPtMarkActive(
IN ULONG TablePosition
);
VOID
SpPtMakeRegionActive(
IN PDISK_REGION Region
);
BOOLEAN
SpPtValidateCColonFormat(
IN PVOID SifHandle,
IN PWSTR RegionDescr,
IN PDISK_REGION Region,
IN BOOLEAN CheckOnly,
IN PWSTR SetupSourceDevicePath,
IN PWSTR DirectoryOnSetupSource
);
PDISK_REGION
SpPtValidSystemPartition(
VOID
);
ULONG
SpDetermineDisk0(
VOID
);
#else
PDISK_REGION
SpPtValidSystemPartition(
IN PVOID SifHandle
);
#endif // def _X86_
#endif // ndef _SPPARTITP_