Changeset 7756 for trunk/include/custombuild.h
- Timestamp:
- Jan 9, 2002, 5:13:17 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/custombuild.h
r7674 r7756 14 14 15 15 16 typedef HANDLE (* WIN32API PFNDRVOPEN)(DWORD dwAccess, DWORD dwShare, DWORD dwFlags );17 typedef void (* WIN32API PFNDRVCLOSE)(HANDLE hDevice, DWORD dwFlags );16 typedef HANDLE (* WIN32API PFNDRVOPEN)(DWORD dwAccess, DWORD dwShare, DWORD dwFlags, PVOID *ppDriverData); 17 typedef void (* WIN32API PFNDRVCLOSE)(HANDLE hDevice, DWORD dwFlags, PVOID lpDriverData); 18 18 typedef BOOL (* WIN32API PFNDRVIOCTL)(HANDLE hDevice, DWORD dwFlags, DWORD dwIoControlCode, 19 19 LPVOID lpInBuffer, DWORD nInBufferSize, 20 20 LPVOID lpOutBuffer, DWORD nOutBufferSize, 21 LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped); 21 LPDWORD lpBytesReturned, LPOVERLAPPED lpOverlapped, 22 PVOID lpDriverData); 22 23 23 24 typedef BOOL (* WIN32API PFNDRVREAD)(HANDLE hDevice, … … 27 28 LPDWORD lpNumberOfBytesRead, 28 29 LPOVERLAPPED lpOverlapped, 29 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine); 30 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine, 31 PVOID lpDriverData); 30 32 31 33 typedef BOOL (* WIN32API PFNDRVWRITE)(HANDLE hDevice, … … 35 37 LPDWORD lpNumberOfBytesWrite, 36 38 LPOVERLAPPED lpOverlapped, 37 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine); 39 LPOVERLAPPED_COMPLETION_ROUTINE lpCompletionRoutine, 40 PVOID lpDriverData); 38 41 39 typedef BOOL (* WIN32API PFNDRVCANCELIO)(HANDLE hDevice, DWORD dwFlags );42 typedef BOOL (* WIN32API PFNDRVCANCELIO)(HANDLE hDevice, DWORD dwFlags, PVOID lpDriverData); 40 43 typedef DWORD (* WIN32API PFNDRVGETOVERLAPPEDRESULT)(HANDLE hDevice, 41 44 DWORD dwFlags, 42 45 LPOVERLAPPED lpOverlapped, 43 46 LPDWORD lpcbTransfer, 44 BOOL fWait); 47 BOOL fWait, 48 PVOID lpDriverData); 45 49 46 50 BOOL WIN32API RegisterCustomDriver(PFNDRVOPEN pfnDriverOpen, PFNDRVCLOSE pfnDriverClose,
Note:
See TracChangeset
for help on using the changeset viewer.