.


:




:

































 

 

 

 


, Windows




Windows. Windows API , API, POSIX API, , UNIX Linux. Windows - , .

Windows, .

Windows (kernel objects), (handles). (descriptors) (ID) UNIX.[7]

Windows API. "" . , - , Windows - .

, , , , , . .

Windows . -, ; , (convenience functions), ( CopyFile, ). -, , . , .

Windows , .

Windows (thread). (process) .

Windows . , Windows:

WaitForSingleObject

WaitForSingleObjectEx

WaitForMultipleObjects

WaitNamedPipe

, :

, API, , .

:

BOOL ( 32- , )

HANDLE

DWORD ( 32- )

LPTSTR ( , 8 16- )

LPSECURITY_ATTRIBUTES

.

* , , , , LPTSTR ( TCHAR *) LPCTSTR ( const TCHAR *). . TCHAR char, wchar_t.

, , , . , lpszFileName " , ", . " ", , , . , dwAccess (32 ), , "dw" "double word" " ".

, () , , , , . , , , Microsoft Visual C++ Program Files\Microsoft Visual Studio.NET\Vc7\PlatformSDK\Include ( Program Files\Microsoft Visual Studio\VC98\Include VC++ 6.0):

WINDOWS.H (, )

WINNT.

WINBASE.H

, API Win32 , API Winl6, Windows 3.1. :

, , , LPTSTR LPDWORD, " ", 32 64- . - . "" , , , LPVOID PVOID .[8]

, WIN32_FIND_DATA, "WIN32", Win64.

, 16- , , , . OpenFile, , , , CreateFile.





:


: 2015-09-20; !; : 520 |


:

:

: , .
==> ...

2251 - | 1871 -


© 2015-2024 lektsii.org - -

: 0.011 .