????? ??????? ??? ???????? ??????? NTFS

?????? ????????? ?????? ?????????
???? ???????: 105763 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

??????

??? ????? ???? ??????? NTFS ?? NTFS ????? ??? ?????? ????????; ??? ???? ??????? ????? ???? ?????? ?? ??? ?????? ????? ??? ??.

????? ????? Windows NT ????????? ???? ?????? ??? ??? ???:
filename:stream
????? ????? ?????? ???? ?????? ?? ????? ???? ???? ??????? NTFS ? ?? ?? ???? ??????? ?? ????????. ??? ???? ??? ???? ?????? NTFS ?? ????????? ?????????? ?? Windows NT.

??? ????? ????? ??????? ?????????? ???? ???????? ??? ??????? OLE 2.0 ???? (IStream ? IStorage). ???????? OLE 2.0 ????? ???? ?? ????? ??? ?????? ??? ?? ???? ????? ? ?????? ???? ????? ??????? (Windows ???????, Windows NT ? Win32) ? ???? ??? ??? Windows NT.

??????? ????

???? ????? ????????? ???????? ?????? ?????? NTFS:

??? ?????

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

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

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

      hStream = CreateFile( "testfile:stream",
                                GENERIC_WRITE,
                             FILE_SHARE_WRITE,
                                         NULL,
                                  OPEN_ALWAYS,
                                            0,
                                         NULL );
      if( hStream == INVALID_HANDLE_VALUE )
         printf( "Cannot open testfile:stream\n" );
      else
         WriteFile(hStream, "This is testfile:stream", 23, &dwRet, NULL);
   }
				
??? ????? ?????? ????? ?? ??? ???? ?? 16, ??? ????? ??? ?? "testfile" ? ???????
??? testfile
???? ?? ???:
   This is testfile
				
????
??? testfile:stream
???? ?? ???:
   The filename syntax is incorrect
				
???? ?? ???? ?? testfile:stream, ??????:
?? < testfile:stream
- ?? -
mep testfile:stream
??? ?? "mep" ???? Microsoft ???????? ?? Platform SDK.

???????

???? ???????: 105763 - ????? ??? ??????: 30/????/1427 - ??????: 4.2
????? ???
  • Microsoft Win32 ????? ????? ???????, ????? ?????? ??:
    • Microsoft Windows NT Advanced Server 3.1
    • Microsoft Windows NT 4.0
    • Microsoft Windows NT 3.51 Service Pack 5
    • Microsoft Windows NT 4.0
    • the operating system: Microsoft Windows 2000
    • the operating system: Microsoft Windows XP
????? ??????: 
kbmt kbapi kbfileio kbhowto kbkernbase KB105763 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????105763

????? ???????

 

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