ÿþ<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=unicode" /> <meta http-equiv="Content-Language" content="en-us" /> <title>Windows win32 volume programming tutorial using C and C++</title> <meta name="keywords" content="volume, hard disk, storage, tutorials, programming, Win32 library, examples, codes, samples, development, project" /> <meta name="description" content="The Win32 Windows Volume Programming tutorials with code samples" /> </head> <body topmargin="20" leftmargin="20" rightmargin="20" bottommargin="20"> <div align="center"> <table border="0" width="100%"> <tr> <td colspan="2"> <p align="center"><font size="6" face="Times New Roman"> <span style="line-height:115%;font-family:&quot;Batang&quot;">Win32 Windows Volume Programming</span></font></p> </td> </tr> <tr> <td colspan="2"> <p align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; google_ad_slot = "2156170134"; google_ad_width = 728; google_ad_height = 15; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> </td> </tr> <tr> <td width="7%" align="center"> <h3> <font face="Byington"><span style="font-weight: 400"> <a title="The Win32 programming tutorial using Visual Studio, C and C++ languages" target="_top" href="index.html"> HOME</a></span></font></h3> <p>&nbsp;</p> <div align="center"> <script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=160X600&cwpid=527221&cwwidth=160&cwheight=600&cwpnet=1&cwtagid=82739"></script> </div> <p></p> <p>&nbsp;</p> <p> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; google_ad_slot = "3614899554"; google_ad_width = 160; google_ad_height = 600; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> </td> <td width="92%"> <h1 style="margin-bottom:0mm;margin-bottom:.0001pt"> <font size="5" face="Times New Roman"> <span style="line-height:115%; font-family:&quot;Arial&quot;; font-weight:400">What do we have in this session?</span></font></h1> <p style="margin-bottom:0mm;margin-bottom:.0001pt"> <font face="Arial">In this session we will learn the programming environment setup (VC++) that will be used throughout the tutorial. We will learn the Windows volume, disk/drive, directory and Master File Table (MFT) will working program examples to demonstrate the use of Windows APIs. Take note that the MFT program examples use the undocumented Windows APIs.</font></p> <ol> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; line-height:150%; margin-top:0"> <span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1.html">Some Notes to Students</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; line-height:150%; margin-top:0"> <span style="font-weight: 400"><font face="Byington">Environment for the Program Examples (Build and Run)</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0; line-height:150%; margin-top:0"> <span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_1.html">Brief Introduction</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">File System Recognition</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">File System Recognition Components and Use</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Computing a File System Recognition Checksum Code Snippet</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_2.html">Obtaining File System Recognition Information Example</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_3.html">Naming a Volume</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Enumerating Volumes</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Enumerating Volume GUID Paths Example</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_4.html">Obtaining Volume Information Program Example</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_5.html">Getting the System Information Program Example</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_6.html">Another Basic Windows System Information Program Example</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_7.html">Getting Logical Drive Program Example</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_8.html">Getting the Logical Drive String Program Example</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_9.html">Getting Drive Type Program Example</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_10.html">Change Journals</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Change Journal Records</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Using the Change Journal Identifier</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Creating, Modifying, and Deleting a Change Journal</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Obtaining a Volume Handle for Change Journal Operations</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Change Journal Operations</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_11.html">Walking a Buffer of Change Journal Records</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Walking a Buffer of Change Journal Records Program Example</font></span></h3> </li> </ol> <p style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0">&nbsp;</p> <p style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0">&nbsp;</p> <div align="center"> <script src="http://tag.contextweb.com/TagPublish/getjs.aspx?action=VIEWAD&cwrun=200&cwadformat=728X90&cwpid=527221&cwwidth=728&cwheight=90&cwpnet=1&cwtagid=82740"></script> </div> <p></p> <p style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0">&nbsp;</p> <ol start="25"> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_12.html">Mounted Folders (drives)</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">How to create a mounted drive</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">How to remove a mounted drive</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_13.html">Creating Mounted Folders Programmatically</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Enumerating Mounted Folders Program</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Determining Whether a Directory Is a Mounted Folder</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Assigning a Drive Letter to a Volume</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Mounted Folder Functions</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">General-Purpose Mounted Folder Functions</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Volume-Scanning Functions</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Mounted Folder Scanning Functions</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_14.html">Mounted Folder Program Examples</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington">Displaying Volume Paths Program Example</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_15.html">Editing Drive Letter Assignments Program Example</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_16.html">Creating a Mounted Folder Program Example</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_17.html">Deleting a Mounted Folder Program Example</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_18.html">Windows Master File Table (MFT)</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_19.html">Master File Table Program Example 1</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_20.html">Master File Table Program Example 2: Reading and Dumping the Deleted Files</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_21.html">Master File Table Program Example 3: Using Non-Windows Types</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_22.html">Listing the Deleted Files from Master File Table (MFT)</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_23.html">Another Day, Another MFT Program Example: List, Recover and Delete the Deleted Files from Master File Table</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_24.html">...Continue: Adding the ntfs.h header file to the project</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_25.html">...Continue: Deleting permanently the deleted file &amp; Windows Master Boot Record (MBR)</a></font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height: 150%; margin-top:0"><span style="font-weight: 400"><font face="Byington"> <a href="windowsvolumeapis1_26.html">Volume Management Reference</a></font></span></h3> <ol type="a"> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height:150%; margin-top:0"> <span style="font-weight: 400"><font face="Byington">Volume Management Functions</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height:150%; margin-top:0"> <span style="font-weight: 400"><font face="Byington">Volume Management Control Codes</font></span></h3> </li> <li> <h3 style="margin-bottom:0mm;margin-bottom:0;line-height:150%; margin-top:0"> <span style="font-weight: 400"><font face="Byington">Volume Management Structures</font></span></h3> </li> </ol> </li> </ol> </td> </tr> <tr> <td colspan="2"> <p align="center"> <script type="text/javascript"><!-- google_ad_client = "pub-8089415323104206"; google_ad_slot = "0761177910"; google_ad_width = 728; google_ad_height = 90; //--> </script> &nbsp;<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script></p> </td> </tr> <tr> <td colspan="2"> <h3 align="center" style="margin-top: 0; margin-bottom: 0"> <font face="Byington"><span style="font-weight: 400">&lt; <a title="The Win32 programming tutorial using Visual Studio, C and C++ languages" href="index.html"> Win32 Programming</a> | <a title="The Win32 programming environment setup" href="windowsvolumeapis1.html"> Windows Volume 1</a> &gt;</span></font></h3> </td> </tr> </table> </div> </body> </html>