MCPcopy Create free account
hub / github.com/bobranten/Ext4Fsd / Ext2QueryVolumePartition

Function Ext2QueryVolumePartition

Ext2Mgr/enumDisk.cpp:832–850  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

830}
831
832PEXT2_PARTITION
833Ext2QueryVolumePartition(
834 PEXT2_VOLUME Volume
835 )
836{
837 PEXT2_PARTITION Part = NULL;
838 DWORD i, j;
839
840 for (i=0; i < g_nDisks; i++) {
841 for (j=0; j < (int)gDisks[i].NumParts; j++) {
842 if (gDisks[i].DataParts[j].Volume == Volume) {
843 Part = &gDisks[i].DataParts[j];
844 break;
845 }
846 }
847 }
848
849 return Part;
850}
851
852NT::NTSTATUS
853Ext2QueryProperty(

Callers 2

RemoveMountPointMethod · 0.85
OnRclickVolumeListMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected