Changeset 113 for trunk/src/kernel32/hmopen32.cpp
- Timestamp:
- Jun 17, 1999, 8:44:06 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/hmopen32.cpp
r111 r113 1 /* $Id: hmopen32.cpp,v 1. 1 1999-06-17 18:21:43phaller Exp $ */1 /* $Id: hmopen32.cpp,v 1.2 1999-06-17 18:44:06 phaller Exp $ */ 2 2 3 3 /* … … 87 87 { 88 88 HFILE hFile; 89 HFILE hTemplate; 89 90 90 91 dprintf(("KERNEL32: HandleManager::Open32::CreateFile %s(%s,%08x,%08x,%08x) - stub?\n", … … 100 101 lpFileName+=4; 101 102 103 // create from template 104 if (pHMHandleDataTemplate != NULL) 105 hTemplate = pHMHandleDataTemplate->hWinHandle; 106 else 107 hTemplate = 0; 108 102 109 hFile = O32_CreateFile(lpFileName, 103 110 pHMHandleData->dwAccess, 104 111 pHMHandleData->dwShare, 105 (PSECURITY_ATTRIBUTES)lpSecurityAttributes, 112 //(LPSECURITY_ATTRIBUTES)lpSecurityAttributes, 113 NULL, 106 114 pHMHandleData->dwCreation, 107 115 pHMHandleData->dwFlags, 108 pHMHandleDataTemplate->hWinHandle);116 hTemplate); 109 117 if (hFile != INVALID_HANDLE_ERROR) 118 { 110 119 pHMHandleData->hWinHandle = hFile; 111 112 return(hFile); 120 return (NO_ERROR); 121 } 122 else 123 return(O32_GetLastError()); 113 124 } 114 125
Note:
See TracChangeset
for help on using the changeset viewer.