Lm th? no ? s? d?ng d?ng d? li?u lun phin NTFS

D?ch tiu ? D?ch tiu ?
ID c?a bi: 105763 - Xem s?n ph?m m bi ny p d?ng vo.
Bung t?t c? | Thu g?n t?t c?

? Trang ny


Ti?u bang ti li?u cho h? th?ng t?p tin NTFS r?ng NTFS h? tr? nhi?u d?ng c?a d? li?u; Tuy nhin, cc ti li?u khng ? c?p c php cho cc d?ng chnh m?nh.

Windows NT Resource Kit ti li?u c php d?ng nh sau:
D?ng d? li?u lun phin nghim ch?nh l m?t tnh nng c?a h? th?ng t?p tin NTFS v c th? khng ?c h? tr? trong h? th?ng t?p tin trong tng lai. Tuy nhin, NTFS s? ?c h? tr? trong tng lai cc phin b?n c?a Windows NT.

H? th?ng t?p tin trong tng lai s? h? tr? m?t m h?nh d?a trn OLE 2.0 c?u trc lu tr? (IStream v IStorage). B?ng cch s? d?ng OLE 2.0, m?t ?ng d?ng c th? h? tr? nhi?u d?ng trn b?t k? h? th?ng t?p tin v t?t c? cc h? tr? ho?t ?ng h? th?ng (Windows, Macintosh, Windows NT, v Win32s), khng ch? Windows NT.


M?u m? sau y ch?ng t? NTFS d?ng:

M?u m?

   #include <windows.h>
   #include <stdio.h>

   void main( )
      HANDLE hFile, hStream;
      DWORD dwRet;

      hFile = CreateFile( "testfile",
                                NULL );
      if( hFile == INVALID_HANDLE_VALUE )
         printf( "Cannot open testfile\n" );
          WriteFile( hFile, "This is testfile", 16, &dwRet, NULL );

      hStream = CreateFile( "testfile:stream",
                                         NULL );
      if( hStream == INVALID_HANDLE_VALUE )
         printf( "Cannot open testfile:stream\n" );
         WriteFile(hStream, "This is testfile:stream", 23, &dwRet, NULL);
Kch th?c t?p tin thu ?c trong danh sch th m?c l 16, b?i v? b?n l nh?n ch? "testfile", v do
lo?i testfile
s?n xu?t nh sau:
   This is testfile
Tuy nhin
g? testfile:stream
s?n xu?t nh sau:
   The filename syntax is incorrect
? xem nh?ng g? l trong testfile:stream, s? d?ng:
khac< testfile:stream="">
- hay -
MEP testfile:stream
ni "mep" l cc bin t?p vin c?a Microsoft c s?n trong n?n t?ng SDK.

Thu?c tnh

ID c?a bi: 105763 - L?n xem xt sau cng: 17 Thang Tam 2011 - Xem xt l?i: 2.0
p d?ng
  • Microsoft Win32 Application Programming Interface
T? kha:
kbapi kbfileio kbhowto kbkernbase kbmt KB105763 KbMtvi
My d?ch
QUAN TRONG: Bi vi?t ny ?c d?ch b?ng ph?n m?m d?ch my c?a Microsoft ch? khng ph?i do con ng?i d?ch. Microsoft cung c?p cc bi vi?t do con ng?i d?ch v c? cc bi vi?t do my d?ch ? b?n c th? truy c?p vo t?t c? cc bi vi?t trong C s? Ki?n th?c c?a chng ti b?ng ngn ng? c?a b?n. Tuy nhin, bi vi?t do my d?ch khng ph?i lc no c?ng hon h?o. Lo?i bi vi?t ny c th? ch?a cc sai st v? t? v?ng, c php ho?c ng? php, gi?ng nh m?t ng?i n?c ngoi c th? m?c sai st khi ni ngn ng? c?a b?n. Microsoft khng ch?u trch nhi?m v? b?t k? s? thi?u chnh xc, sai st ho?c thi?t h?i no do vi?c d?ch sai n?i dung ho?c do ho?t ?ng s? d?ng c?a khch hng gy ra. Microsoft c?ng th?ng xuyn c?p nh?t ph?n m?m d?ch my ny.
Nh?p chu?t vo y ? xem b?n ti?ng Anh c?a bi vi?t ny:105763

Cung cp Phan hi


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com