[CLASSPNP][CDROM_NEW][DISK_NEW] Fix clang build

CORE-17129
This commit is contained in:
Victor Perevertkin 2020-12-05 20:52:13 +03:00
parent fe1b98fc36
commit 15a7b9dd2f
No known key found for this signature in database
GPG key ID: C750B7222E9C7830
10 changed files with 59 additions and 57 deletions

View file

@ -807,7 +807,7 @@ VOID
#define CLEAR_FLAG(Flags, Bit) ((Flags) &= ~(Bit)) #define CLEAR_FLAG(Flags, Bit) ((Flags) &= ~(Bit))
#define TEST_FLAG(Flags, Bit) (((Flags) & (Bit)) != 0) #define TEST_FLAG(Flags, Bit) (((Flags) & (Bit)) != 0)
__inline FORCEINLINE // __REACTOS__
BOOLEAN BOOLEAN
ValidChar(UCHAR Ch) ValidChar(UCHAR Ch)
{ {
@ -821,7 +821,7 @@ ValidChar(UCHAR Ch)
} }
// could be #define, but this allows typechecking // could be #define, but this allows typechecking
__inline FORCEINLINE // __REACTOS__
BOOLEAN BOOLEAN
PORT_ALLOCATED_SENSE( PORT_ALLOCATED_SENSE(
_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
@ -834,7 +834,7 @@ PORT_ALLOCATED_SENSE(
); );
} }
__inline FORCEINLINE // __REACTOS__
VOID VOID
FREE_PORT_ALLOCATED_SENSE_BUFFER( FREE_PORT_ALLOCATED_SENSE_BUFFER(
_In_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_ PCDROM_DEVICE_EXTENSION DeviceExtension,
@ -1497,19 +1497,19 @@ DvdSendKey(
// //
// neat little hacks to count number of bits set efficiently // neat little hacks to count number of bits set efficiently
// //
__inline ULONG CountOfSetBitsUChar(UCHAR _X) FORCEINLINE ULONG CountOfSetBitsUChar(UCHAR _X)
{ ULONG i = 0; while (_X) { _X &= _X - 1; i++; } return i; } { ULONG i = 0; while (_X) { _X &= _X - 1; i++; } return i; }
__inline ULONG CountOfSetBitsULong(ULONG _X) FORCEINLINE ULONG CountOfSetBitsULong(ULONG _X)
{ ULONG i = 0; while (_X) { _X &= _X - 1; i++; } return i; } { ULONG i = 0; while (_X) { _X &= _X - 1; i++; } return i; }
__inline ULONG CountOfSetBitsULong32(ULONG32 _X) FORCEINLINE ULONG CountOfSetBitsULong32(ULONG32 _X)
{ ULONG i = 0; while (_X) { _X &= _X - 1; i++; } return i; } { ULONG i = 0; while (_X) { _X &= _X - 1; i++; } return i; }
__inline ULONG CountOfSetBitsULong64(ULONG64 _X) FORCEINLINE ULONG CountOfSetBitsULong64(ULONG64 _X)
{ ULONG i = 0; while (_X) { _X &= _X - 1; i++; } return i; } { ULONG i = 0; while (_X) { _X &= _X - 1; i++; } return i; }
__inline ULONG CountOfSetBitsUlongPtr(ULONG_PTR _X) FORCEINLINE ULONG CountOfSetBitsUlongPtr(ULONG_PTR _X)
{ ULONG i = 0; while (_X) { _X &= _X - 1; i++; } return i; } { ULONG i = 0; while (_X) { _X &= _X - 1; i++; } return i; }
__inline FORCEINLINE // __REACTOS__
BOOLEAN BOOLEAN
IsVolumeMounted( IsVolumeMounted(
_In_ PDEVICE_OBJECT DeviceObject _In_ PDEVICE_OBJECT DeviceObject
@ -1523,7 +1523,7 @@ IsVolumeMounted(
} }
__inline _Ret_range_(0,MAXIMUM_RETRY_FOR_SINGLE_IO_IN_100NS_UNITS) FORCEINLINE _Ret_range_(0,MAXIMUM_RETRY_FOR_SINGLE_IO_IN_100NS_UNITS)
LONGLONG LONGLONG
ConvertSectorsPerSecondTo100nsUnitsFor64kWrite( ConvertSectorsPerSecondTo100nsUnitsFor64kWrite(
_In_range_(1,0xFFFFFFFF) ULONG SectorsPerSecond // zero would cause divide-by-zero _In_range_(1,0xFFFFFFFF) ULONG SectorsPerSecond // zero would cause divide-by-zero
@ -1549,7 +1549,7 @@ ConvertSectorsPerSecondTo100nsUnitsFor64kWrite(
return 320000000 / SectorsPerSecond; return 320000000 / SectorsPerSecond;
} }
__inline FORCEINLINE // __REACTOS__
UCHAR UCHAR
RequestGetCurrentStackLocationFlags( RequestGetCurrentStackLocationFlags(
_In_ WDFREQUEST Request _In_ WDFREQUEST Request
@ -1564,7 +1564,7 @@ RequestGetCurrentStackLocationFlags(
return currentStack->Flags; return currentStack->Flags;
} }
__inline FORCEINLINE // __REACTOS__
ULONG ULONG
TimeOutValueGetCapValue( TimeOutValueGetCapValue(
_In_ ULONG TimeOutValue, _In_ ULONG TimeOutValue,

View file

@ -6675,7 +6675,7 @@ Return Value:
return status; return status;
} // end RequestHandleReserveRelease() } // end RequestHandleReserveRelease()
__inline static // __REACTOS__
BOOLEAN BOOLEAN
ValidPersistentReserveScope( ValidPersistentReserveScope(
UCHAR Scope) UCHAR Scope)
@ -6692,7 +6692,7 @@ ValidPersistentReserveScope(
} }
} }
__inline static // __REACTOS__
BOOLEAN BOOLEAN
ValidPersistentReserveType( ValidPersistentReserveType(
UCHAR Type) UCHAR Type)

View file

@ -87,7 +87,7 @@ ScratchBuffer_PerformNextReadWrite(
#define ScratchBuffer_BeginUse(context) ScratchBuffer_BeginUseX((context), NULL, (ULONG)-1) #define ScratchBuffer_BeginUse(context) ScratchBuffer_BeginUseX((context), NULL, (ULONG)-1)
#endif #endif
__inline VOID ScratchBuffer_BeginUseX(_Inout_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_opt_ LPCSTR File, ULONG Line) FORCEINLINE VOID ScratchBuffer_BeginUseX(_Inout_ PCDROM_DEVICE_EXTENSION DeviceExtension, _In_opt_ LPCSTR File, ULONG Line)
{ {
// NOTE: these are not "real" locks. They are simply to help // NOTE: these are not "real" locks. They are simply to help
// avoid multiple uses of the scratch buffer. Thus, it // avoid multiple uses of the scratch buffer. Thus, it
@ -101,7 +101,7 @@ __inline VOID ScratchBuffer_BeginUseX(_Inout_ PCDROM_DEVICE_EXTENSION DeviceExte
RequestClearSendTime(DeviceExtension->ScratchContext.ScratchRequest); RequestClearSendTime(DeviceExtension->ScratchContext.ScratchRequest);
return; return;
} }
__inline VOID ScratchBuffer_EndUse(_Inout_ PCDROM_DEVICE_EXTENSION DeviceExtension) FORCEINLINE VOID ScratchBuffer_EndUse(_Inout_ PCDROM_DEVICE_EXTENSION DeviceExtension)
{ {
// NOTE: these are not "real" locks. They are simply to help // NOTE: these are not "real" locks. They are simply to help
// avoid multiple uses of the scratch buffer. Thus, it // avoid multiple uses of the scratch buffer. Thus, it
@ -162,7 +162,7 @@ ScratchBuffer_ExecuteCdbEx(
); );
_IRQL_requires_max_(APC_LEVEL) _IRQL_requires_max_(APC_LEVEL)
__inline FORCEINLINE // __REACTOS__
NTSTATUS NTSTATUS
ScratchBuffer_ExecuteCdb( ScratchBuffer_ExecuteCdb(
_Inout_ PCDROM_DEVICE_EXTENSION DeviceExtension, _Inout_ PCDROM_DEVICE_EXTENSION DeviceExtension,

View file

@ -56,7 +56,7 @@ const GUID StoragePredictFailureEventGuid = WMI_STORAGE_PREDICT_FAILURE_EVENT_GU
// would be to serialize the polling and power down irps so that // would be to serialize the polling and power down irps so that
// only one of them is sent to the device at a time. // only one of them is sent to the device at a time.
// //
__inline static
BOOLEAN BOOLEAN
ClasspCanSendPollingIrp( ClasspCanSendPollingIrp(
_In_ PFUNCTIONAL_DEVICE_EXTENSION fdoExtension _In_ PFUNCTIONAL_DEVICE_EXTENSION fdoExtension

View file

@ -1208,16 +1208,16 @@ typedef struct _IO_RETRIED_LOG_MESSAGE_CONTEXT {
/* /*
* Simple singly-linked-list queuing macros, with no synchronization. * Simple singly-linked-list queuing macros, with no synchronization.
*/ */
__inline VOID SimpleInitSlistHdr(SINGLE_LIST_ENTRY *SListHdr) FORCEINLINE VOID SimpleInitSlistHdr(SINGLE_LIST_ENTRY *SListHdr)
{ {
SListHdr->Next = NULL; SListHdr->Next = NULL;
} }
__inline VOID SimplePushSlist(SINGLE_LIST_ENTRY *SListHdr, SINGLE_LIST_ENTRY *SListEntry) FORCEINLINE VOID SimplePushSlist(SINGLE_LIST_ENTRY *SListHdr, SINGLE_LIST_ENTRY *SListEntry)
{ {
SListEntry->Next = SListHdr->Next; SListEntry->Next = SListHdr->Next;
SListHdr->Next = SListEntry; SListHdr->Next = SListEntry;
} }
__inline SINGLE_LIST_ENTRY *SimplePopSlist(SINGLE_LIST_ENTRY *SListHdr) FORCEINLINE SINGLE_LIST_ENTRY *SimplePopSlist(SINGLE_LIST_ENTRY *SListHdr)
{ {
SINGLE_LIST_ENTRY *sListEntry = SListHdr->Next; SINGLE_LIST_ENTRY *sListEntry = SListHdr->Next;
if (sListEntry){ if (sListEntry){
@ -1226,12 +1226,12 @@ __inline SINGLE_LIST_ENTRY *SimplePopSlist(SINGLE_LIST_ENTRY *SListHdr)
} }
return sListEntry; return sListEntry;
} }
__inline BOOLEAN SimpleIsSlistEmpty(SINGLE_LIST_ENTRY *SListHdr) FORCEINLINE BOOLEAN SimpleIsSlistEmpty(SINGLE_LIST_ENTRY *SListHdr)
{ {
return (SListHdr->Next == NULL); return (SListHdr->Next == NULL);
} }
__inline FORCEINLINE
BOOLEAN BOOLEAN
ClasspIsIdleRequestSupported( ClasspIsIdleRequestSupported(
PCLASS_PRIVATE_FDO_DATA FdoData, PCLASS_PRIVATE_FDO_DATA FdoData,
@ -1246,7 +1246,7 @@ ClasspIsIdleRequestSupported(
#endif #endif
} }
__inline FORCEINLINE
VOID VOID
ClasspMarkIrpAsIdle( ClasspMarkIrpAsIdle(
PIRP Irp, PIRP Irp,
@ -1263,7 +1263,7 @@ ClasspMarkIrpAsIdle(
#endif #endif
} }
__inline FORCEINLINE
BOOLEAN BOOLEAN
ClasspIsIdleRequest( ClasspIsIdleRequest(
PIRP Irp PIRP Irp
@ -1275,7 +1275,7 @@ ClasspIsIdleRequest(
return ((BOOLEAN)Irp->Tail.Overlay.DriverContext[1]); return ((BOOLEAN)Irp->Tail.Overlay.DriverContext[1]);
} }
__inline FORCEINLINE
LARGE_INTEGER LARGE_INTEGER
ClasspGetCurrentTime( ClasspGetCurrentTime(
VOID VOID
@ -1292,7 +1292,7 @@ ClasspGetCurrentTime(
return currentTime; return currentTime;
} }
__inline FORCEINLINE
ULONGLONG ULONGLONG
ClasspTimeDiffToMs( ClasspTimeDiffToMs(
ULONGLONG TimeDiff ULONGLONG TimeDiff
@ -1303,7 +1303,7 @@ ClasspTimeDiffToMs(
return TimeDiff; return TimeDiff;
} }
__inline FORCEINLINE
BOOLEAN BOOLEAN
ClasspSupportsUnmap( ClasspSupportsUnmap(
_In_ PCLASS_FUNCTION_SUPPORT_INFO SupportInfo _In_ PCLASS_FUNCTION_SUPPORT_INFO SupportInfo
@ -1312,7 +1312,7 @@ ClasspSupportsUnmap(
return SupportInfo->LBProvisioningData.LBPU; return SupportInfo->LBProvisioningData.LBPU;
} }
__inline FORCEINLINE
BOOLEAN BOOLEAN
ClasspIsThinProvisioned( ClasspIsThinProvisioned(
_In_ PCLASS_FUNCTION_SUPPORT_INFO SupportInfo _In_ PCLASS_FUNCTION_SUPPORT_INFO SupportInfo
@ -1330,7 +1330,7 @@ ClasspIsThinProvisioned(
return FALSE; return FALSE;
} }
__inline FORCEINLINE
BOOLEAN BOOLEAN
ClasspIsObsoletePortDriver( ClasspIsObsoletePortDriver(
_In_ PFUNCTIONAL_DEVICE_EXTENSION FdoExtension _In_ PFUNCTIONAL_DEVICE_EXTENSION FdoExtension
@ -2018,7 +2018,7 @@ ClasspBinaryToAscii(
_Inout_ PULONG UpdateLength _Inout_ PULONG UpdateLength
); );
__inline FORCEINLINE
BOOLEAN BOOLEAN
ClasspIsTokenOperationComplete( ClasspIsTokenOperationComplete(
_In_ ULONG CurrentStatus _In_ ULONG CurrentStatus
@ -2039,7 +2039,7 @@ ClasspIsTokenOperationComplete(
return operationCompleted; return operationCompleted;
} }
__inline FORCEINLINE
BOOLEAN BOOLEAN
ClasspIsTokenOperation( ClasspIsTokenOperation(
_In_ PCDB Cdb _In_ PCDB Cdb
@ -2061,7 +2061,7 @@ ClasspIsTokenOperation(
return tokenOperation; return tokenOperation;
} }
__inline FORCEINLINE
BOOLEAN BOOLEAN
ClasspIsReceiveTokenInformation( ClasspIsReceiveTokenInformation(
_In_ PCDB Cdb _In_ PCDB Cdb
@ -2082,7 +2082,7 @@ ClasspIsReceiveTokenInformation(
return receiveTokenInformation; return receiveTokenInformation;
} }
__inline FORCEINLINE
BOOLEAN BOOLEAN
ClasspIsOffloadDataTransferCommand( ClasspIsOffloadDataTransferCommand(
_In_ PCDB Cdb _In_ PCDB Cdb
@ -2441,7 +2441,7 @@ ClasspConvertToScsiRequestBlock(
_In_ PSTORAGE_REQUEST_BLOCK SrbEx _In_ PSTORAGE_REQUEST_BLOCK SrbEx
); );
__inline PCDB FORCEINLINE PCDB
ClasspTransferPacketGetCdb( ClasspTransferPacketGetCdb(
_In_ PTRANSFER_PACKET Pkt _In_ PTRANSFER_PACKET Pkt
) )
@ -2455,7 +2455,7 @@ ClasspTransferPacketGetCdb(
// //
// For unknown operation codes this function will return false and will set TimesAlreadyRetried with zero // For unknown operation codes this function will return false and will set TimesAlreadyRetried with zero
// //
__inline BOOLEAN FORCEINLINE BOOLEAN
ClasspTransferPacketGetNumberOfRetriesDone( ClasspTransferPacketGetNumberOfRetriesDone(
_In_ PTRANSFER_PACKET Pkt, _In_ PTRANSFER_PACKET Pkt,
_In_ PCDB Cdb, _In_ PCDB Cdb,
@ -2509,7 +2509,7 @@ ClasspTransferPacketGetNumberOfRetriesDone(
} }
__inline PVOID FORCEINLINE PVOID
ClasspTransferPacketGetSenseInfoBuffer( ClasspTransferPacketGetSenseInfoBuffer(
_In_ PTRANSFER_PACKET Pkt _In_ PTRANSFER_PACKET Pkt
) )
@ -2517,7 +2517,7 @@ ClasspTransferPacketGetSenseInfoBuffer(
return SrbGetSenseInfoBuffer(Pkt->Srb); return SrbGetSenseInfoBuffer(Pkt->Srb);
} }
__inline UCHAR FORCEINLINE UCHAR
ClasspTransferPacketGetSenseInfoBufferLength( ClasspTransferPacketGetSenseInfoBufferLength(
_In_ PTRANSFER_PACKET Pkt _In_ PTRANSFER_PACKET Pkt
) )
@ -2526,7 +2526,7 @@ ClasspTransferPacketGetSenseInfoBufferLength(
} }
__inline VOID FORCEINLINE VOID
ClasspSrbSetOriginalIrp( ClasspSrbSetOriginalIrp(
_In_ PSTORAGE_REQUEST_BLOCK_HEADER Srb, _In_ PSTORAGE_REQUEST_BLOCK_HEADER Srb,
_In_ PIRP Irp _In_ PIRP Irp
@ -2542,7 +2542,7 @@ ClasspSrbSetOriginalIrp(
} }
} }
__inline FORCEINLINE
BOOLEAN BOOLEAN
PORT_ALLOCATED_SENSE_EX( PORT_ALLOCATED_SENSE_EX(
_In_ PFUNCTIONAL_DEVICE_EXTENSION FdoExtension, _In_ PFUNCTIONAL_DEVICE_EXTENSION FdoExtension,
@ -2555,7 +2555,7 @@ PORT_ALLOCATED_SENSE_EX(
); );
} }
__inline FORCEINLINE
VOID VOID
FREE_PORT_ALLOCATED_SENSE_BUFFER_EX( FREE_PORT_ALLOCATED_SENSE_BUFFER_EX(
_In_ PFUNCTIONAL_DEVICE_EXTENSION FdoExtension, _In_ PFUNCTIONAL_DEVICE_EXTENSION FdoExtension,
@ -2580,7 +2580,7 @@ ClasspFailurePredictionPeriodMissed(
_In_ PFUNCTIONAL_DEVICE_EXTENSION FdoExtension _In_ PFUNCTIONAL_DEVICE_EXTENSION FdoExtension
); );
__inline FORCEINLINE
ULONG ULONG
ClasspGetMaxUsableBufferLengthFromOffset( ClasspGetMaxUsableBufferLengthFromOffset(
_In_ PVOID BaseAddress, _In_ PVOID BaseAddress,
@ -2633,7 +2633,7 @@ ClasspIsThinProvisioningError (
_In_ PSCSI_REQUEST_BLOCK _Srb _In_ PSCSI_REQUEST_BLOCK _Srb
); );
__inline FORCEINLINE
BOOLEAN BOOLEAN
ClasspLowerLayerNotSupport ( ClasspLowerLayerNotSupport (
_In_ NTSTATUS Status _In_ NTSTATUS Status
@ -2646,7 +2646,7 @@ ClasspLowerLayerNotSupport (
} }
#if defined(__REACTOS__) && (NTDDI_VERSION >= NTDDI_WINBLUE) #if defined(__REACTOS__) && (NTDDI_VERSION >= NTDDI_WINBLUE)
__inline FORCEINLINE
BOOLEAN BOOLEAN
ClasspSrbTimeOutStatus ( ClasspSrbTimeOutStatus (
_In_ PSTORAGE_REQUEST_BLOCK_HEADER Srb _In_ PSTORAGE_REQUEST_BLOCK_HEADER Srb

View file

@ -422,7 +422,7 @@ Revision History:
A pointer to the value to be incremented. A pointer to the value to be incremented.
--*/ --*/
__inline VOID DbgSafeInc(PULONG pValue) static VOID DbgSafeInc(PULONG pValue)
{ {
ULONG incrementResult; ULONG incrementResult;
if(NT_SUCCESS(RtlULongAdd(*pValue, 1, &incrementResult))) { if(NT_SUCCESS(RtlULongAdd(*pValue, 1, &incrementResult))) {

View file

@ -1883,7 +1883,7 @@ Exit:
return status; return status;
} }
__inline static
NTSTATUS NTSTATUS
IncursSeekPenalty ( IncursSeekPenalty (
_In_ USHORT MediumRotationRate, _In_ USHORT MediumRotationRate,
@ -6147,7 +6147,7 @@ __ClasspQueueLogIOEventWithContextWorker_Exit:
} }
} }
__inline static
BOOLEAN BOOLEAN
ValidPersistentReserveScope( ValidPersistentReserveScope(
UCHAR Scope) UCHAR Scope)
@ -6166,7 +6166,7 @@ ValidPersistentReserveScope(
return FALSE; return FALSE;
} }
__inline static
BOOLEAN BOOLEAN
ValidPersistentReserveType( ValidPersistentReserveType(
UCHAR Type) UCHAR Type)
@ -8324,6 +8324,7 @@ retry:
#endif // #if (NTDDI_VERSION >= NTDDI_WINTHRESHOLD) #endif // #if (NTDDI_VERSION >= NTDDI_WINTHRESHOLD)
#ifndef __REACTOS__ // the functions is not used
__inline __inline
BOOLEAN BOOLEAN
ClassDeviceHwFirmwareIsPortDriverSupported( ClassDeviceHwFirmwareIsPortDriverSupported(
@ -8359,6 +8360,7 @@ Return Value:
return isSupported; return isSupported;
} }
#endif
NTSTATUS NTSTATUS
ClassDeviceHwFirmwareGetInfoProcess( ClassDeviceHwFirmwareGetInfoProcess(

View file

@ -985,7 +985,7 @@ DiskIoctlSmartSendDriveCommand(
IN OUT PIRP Irp IN OUT PIRP Irp
); );
__inline FORCEINLINE // __REACTOS__
PCDB PCDB
GetSrbScsiData( GetSrbScsiData(
_In_ PSTORAGE_REQUEST_BLOCK SrbEx, _In_ PSTORAGE_REQUEST_BLOCK SrbEx,
@ -1175,7 +1175,7 @@ Return Value:
return Cdb; return Cdb;
} }
__inline FORCEINLINE // __REACTOS__
VOID VOID
SetSrbScsiData( SetSrbScsiData(
_In_ PSTORAGE_REQUEST_BLOCK SrbEx, _In_ PSTORAGE_REQUEST_BLOCK SrbEx,

View file

@ -267,7 +267,7 @@ GUID DiskPredictFailureEventGuid = WMI_STORAGE_PREDICT_FAILURE_EVENT_GUID;
// //
// Enable SMART // Enable SMART
// //
_inline NTSTATUS static NTSTATUS
DiskEnableSmart( DiskEnableSmart(
PFUNCTIONAL_DEVICE_EXTENSION FdoExtension PFUNCTIONAL_DEVICE_EXTENSION FdoExtension
) )
@ -289,7 +289,7 @@ DiskEnableSmart(
// //
// Disable SMART // Disable SMART
// //
_inline NTSTATUS static NTSTATUS
DiskDisableSmart( DiskDisableSmart(
PFUNCTIONAL_DEVICE_EXTENSION FdoExtension PFUNCTIONAL_DEVICE_EXTENSION FdoExtension
) )
@ -307,7 +307,7 @@ DiskDisableSmart(
&bufferSize); &bufferSize);
} }
#ifndef __REACTOS__ // functions are not used
// //
// Enable Attribute Autosave // Enable Attribute Autosave
// //
@ -350,12 +350,12 @@ DiskDisableSmartAttributeAutosave(
(PSRB_IO_CONTROL)srbControl, (PSRB_IO_CONTROL)srbControl,
&bufferSize); &bufferSize);
} }
#endif
// //
// Initialize execution of SMART online diagnostics // Initialize execution of SMART online diagnostics
// //
_inline NTSTATUS static NTSTATUS
DiskExecuteSmartDiagnostics( DiskExecuteSmartDiagnostics(
PFUNCTIONAL_DEVICE_EXTENSION FdoExtension, PFUNCTIONAL_DEVICE_EXTENSION FdoExtension,
UCHAR Subcommand UCHAR Subcommand

View file

@ -45,13 +45,13 @@ typedef struct _STORAGE_DEVICE_LAYOUT_SIGNATURE
} DeviceSpecific; } DeviceSpecific;
} STORAGE_DEVICE_LAYOUT_SIGNATURE, *PSTORAGE_DEVICE_LAYOUT_SIGNATURE; } STORAGE_DEVICE_LAYOUT_SIGNATURE, *PSTORAGE_DEVICE_LAYOUT_SIGNATURE;
inline FORCEINLINE
DUID_MATCH_STATUS DUID_MATCH_STATUS
CompareStorageDuids( CompareStorageDuids(
_In_ PSTORAGE_DEVICE_UNIQUE_IDENTIFIER Duid1, _In_ PSTORAGE_DEVICE_UNIQUE_IDENTIFIER Duid1,
_In_ PSTORAGE_DEVICE_UNIQUE_IDENTIFIER Duid2); _In_ PSTORAGE_DEVICE_UNIQUE_IDENTIFIER Duid2);
inline FORCEINLINE
DUID_MATCH_STATUS DUID_MATCH_STATUS
CompareStorageDuids( CompareStorageDuids(
_In_ PSTORAGE_DEVICE_UNIQUE_IDENTIFIER Duid1, _In_ PSTORAGE_DEVICE_UNIQUE_IDENTIFIER Duid1,