<div class="content" name="GetPartitionFileSystemTypeName" uuid="6023265e-fcd4-471a-a35a-0b1a8fa4aab1"><p>The GetPartitionFileSystemTypeName method retrieves the name
of the <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_528b06a4-e67c-43b3-a02d-8738858a691d" data-linktype="relative-path">file system</a> on a <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_c4133b2a-a990-4042-ba44-7fda3090f118" data-linktype="relative-path">disk</a> <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_2f24f458-7d39-47a2-93f7-de433ea85c75" data-linktype="relative-path">partition</a> at a specified byte
offset. This method is only supported on OEM, ESP, recovery, and unknown
partitions.</p><dl>
<dd>
<div><pre> HRESULT GetPartitionFileSystemTypeName(
   [in] ULONGLONG ullOffset,
   [out, string] WCHAR** ppwszFileSystemTypeName
 );
</pre></div>
</dd></dl><p><b>ullOffset: </b>The byte offset of the partition
from the beginning of the disk. This MUST be the offset at the start of a
partition.</p><p><b>ppwszFileSystemTypeName: </b>A pointer that, if
the operation is successfully completed, receives a null-terminated Unicode
string with the file system name.</p><p><b>Return Values: </b>The method MUST return zero or
a non-error <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_799103ab-b3cb-4eab-8c55-322821b2b235" data-linktype="relative-path">HRESULT</a> (as
specified in <a href="../ms-erref/1bc92ddf-b79e-413c-bbaa-99a5281a6c90" data-linktype="relative-path">[MS-ERREF]</a>)
to indicate success, or return an implementation-specific nonzero error code to
indicate failure. For the HRESULT values predefined by the Virtual Disk Service
Remote Protocol, see section <a href="5102cc53-3143-4268-ba4c-6ea39e999ab4" data-linktype="relative-path">2.2.3</a>.</p><dl>
<dd>
<p><b>Note</b>  This method is not valid on
CD/DVD or <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_a2b20515-dc69-4674-b74e-91c8f24e3003" data-linktype="relative-path">super floppy</a>
devices. These devices do not support <a href="8eef5d42-22d7-4302-aed9-12face91505a#gt_cee39671-0b98-4ca3-904d-018780e7042f" data-linktype="relative-path">partition tables</a>.</p>
</dd></dl><p>When the server receives this message, it MUST validate the
following parameter:</p><ul><li><p><span><span> 
</span></span>Verify that <b>ppwszFileSystemTypeName</b> is not NULL.</p>
</li><li><p><span><span> 
</span></span>Verify that the partition at offset ullOffset is an OEM, ESP,
recovery, or unknown partition.</p>
</li></ul><p>The server MUST point <b>ppwszFileSystemTypeName</b> to a
string containing the file system name on the partition at the byte offset from
the beginning of the disk that <i>ullOffset</i> specifies and then return an
HRESULT indicating failure or success.</p></div>