La scrittura del programma per il recupero grezzo della lima per recuperare il Microsoft Word archivia

Data Recovery PRO DATA DOCTOR

Home | Order Online | Downloads | Contact Us | Software Knowledgebase

it | es | pt | fr | de | jp | kr | cn | ru | nl | gr


Scrittura del programma per il recupero grezzo della lima

La codificazione del programma per il recupero grezzo della lima delle lime del Microsoft Word (estensione di .DOC) è stata data dopo. Il programma cerca le lime nei settori del disc e conserva la lima recuperata automaticamente generando il nome della lima automaticamente.

Il percorso specificato dall'utente per conservare le lime è utilizzato come percorso della destinazione per conservare i dati recuperati. Se l'indice della destinazione non esiste, il programma può generare la destinazione fino ad un livello dell'indice.

Il programma di recupero dato qui sostiene persino i grandi disc per cercare e recuperare i dati. Il programma è stato scritto per cercare i dati nel secondo disco rigido fisico.

/* Il programma grezzo di recupero della lima per recuperare il Microsoft Word archivia */

#include<stdio.h>
#include<dos.h>

/* Structure to be used by getdrivegeometry function
using INT 13H Extension, Function Number 0x48. */

struct geometry
{
unsigned int size ; /* (call) size of Buffer */
unsigned int flags ; /* Information Flags */
unsigned long cyl ; /* Number of Physical
Cylinders on Drive */
unsigned long heads ;/* Number of Physical
Heads on Drive */

unsigned long spt ; /* Number of Physical
Sectors Per Track */
unsigned long sectors[2] ; /* Total Number of
Sectors on Drive */
unsigned int bps ; /* Bytes Per Sector */
} ;

/* Structure of Disk Address packet format, to be used by the readabsolutesectors Function */

struct diskaddrpacket
{
char packetsize ; /* Size of Packet, generally 10H */
char reserved ; /* Reserved (0) */
int blockcount ; /* Number of Blocks to Transfer */
char far *bufferaddress ; /* address to Transfer
Buffer */
unsigned long blocknumber[2] ; /* Starting Absolute
Block Number */
} ;

 

///// Function to get Drive Parameters \\\\\

unsigned long getdrivegeometry (int drive)
{
union REGS i, o ;
struct SREGS s ;
struct geometry g = { 26, 0, 0, 0, 0, 0, 0, 0 } ;

i.h.ah = 0x48 ; /* Function Number 0x48 */
i.h.dl = drive; /* Drive Number */
i.x.si = FP_OFF ( (void far*)&g ) ;
s.ds = FP_SEG ( (void far*)&g ) ;

/* Invoke the specified function number of INT 13H
extension with Segment Register Values */

int86x ( 0x13, &i, &o, &s ) ;

 

printf("\n Head = %lu, Sectors Per Track = %lu, Cylinder = %lu\n",
g.heads,g.spt,g.cyl);

/* If get drive Geometry function Fails, Display Error Message and Exit */

if(g.spt==0)
{
printf("\n Get Drive Geometry Function Fails....");
printf("\n Extensions Not Supported, Press any Key to
Exit...");
getch();
exit(1);
}

return *g.sectors; /* Return The Number of
Sectors on Drive */

}

 

unsigned long file_size=0, i=0;
unsigned long start_file=0, end_file=0;
unsigned long Sectors_in_HDD2=0, loop=0;
char buffer[512], filename[80], temp[8];
char path[80];
unsigned int result,num=0;

Sample Chapters from book DATA RECOVERY WITH AND WITHOUT PROGRAMMING by Author Tarun Tyagi
Data Recovery with & without Programming


Publishers of the Book
Number of Pages
ISBN
Price of the Book


BPB Publications, New Delhi, India
540
81-7656-922-4
$69.00 (Including Shipping Charges, Cost of Book and Other expenses, Free Source Code CD included with the Book)





Buy Data recovery Book

Previous page

page 1 | 2 | 3 | 4 | 5 | 6

Next page

© Copyright 2002-2005 DataDoctor.Biz

Home | Contact us | Downloads | Services | Terms and conditions | Site map

Website Data Recovery | recuperación de Datos | Récupération de données | Datenrettung | Recupero dati | データ復旧 | 데이터 복구 | 数据恢复 | Восстановление данных | De terugwinning van gegevens | Ανάκτηση δεδομένων
Sitemap Site map1 2 3 4 | Spanish1 2 3 | French1 2 3 | German1 2 3 | Italian1 2 3 | Portuguese1 2 3 | Japanese1 2 3 | Korean1 2 3 | Chinese1 2 3 | Russian1 2 3 | Dutch1 2 3 | Greek1 2 3
Data Recovery Book English | Spanish | French | German | Italian | Portuguese | Japanese | Korean | Chinese | Russian | Dutch | Greek