Changeset 5587 for trunk/src/kernel32/stubs.cpp
- Timestamp:
- Apr 26, 2001, 3:22:49 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/stubs.cpp
r5451 r5587 582 582 583 583 return (NULL); 584 }585 /*****************************************************************************586 * Name : HANDLE WIN32API CreateMailslotA587 * Purpose : The CreateMailslot function creates a mailslot with the specified588 * name and returns a handle that a mailslot server can use to589 * perform operations on the mailslot. The mailslot is local to the590 * computer that creates it. An error occurs if a mailslot with591 * the specified name already exists.592 * Parameters: LPCSTR lpName pointer to string for mailslot name593 * DWORD nMaxMessageSize maximum message size594 * DWORD lReadTimeout milliseconds before read time-out595 * LPSECURITY_ATTRIBUTES lpSecurityAttributes pointer to security structure596 * Variables :597 * Result : If the function succeeds, the return value is a handle to598 * the mailslot, for use in server mailslot operations.599 * If the function fails, the return value is INVALID_HANDLE_VALUE.600 * Remark :601 * Status : UNTESTED STUB602 *603 * Author : Markus Montkowski [Tha, 1998/05/21 17:46]604 *****************************************************************************/605 606 HANDLE WIN32API CreateMailslotA(LPCSTR lpName, DWORD nMaxMessageSize,607 DWORD lReadTimeout,608 LPSECURITY_ATTRIBUTES lpSecurityAttributes)609 {610 611 dprintf(("KERNEL32: CreateMailslotA(%08x,%08x,%08x,%08x) not implemented - INVALID_HANDLE_VALUE\n",612 lpName, nMaxMessageSize, lReadTimeout, lpSecurityAttributes613 ));614 615 return (INVALID_HANDLE_VALUE);616 }617 618 /*****************************************************************************619 * Name : HANDLE WIN32API CreateMailslotW620 * Purpose : The CreateMailslot function creates a mailslot with the specified621 * name and returns a handle that a mailslot server can use to622 * perform operations on the mailslot. The mailslot is local to the623 * computer that creates it. An error occurs if a mailslot with624 * the specified name already exists.625 * Parameters: LPCWSTR lpName pointer to string for mailslot name626 * DWORD nMaxMessageSize maximum message size627 * DWORD lReadTimeout milliseconds before read time-out628 * LPSECURITY_ATTRIBUTES lpSecurityAttributes pointer to security629 * structure630 * Variables :631 * Result : If the function succeeds, the return value is a handle to632 * the mailslot, for use in server mailslot operations.633 * If the function fails, the return value is INVALID_HANDLE_VALUE.634 * Remark :635 * Status : UNTESTED STUB636 *637 * Author : Markus Montkowski [Tha, 1998/05/21 17:46]638 *****************************************************************************/639 640 HANDLE WIN32API CreateMailslotW(LPCWSTR lpName, DWORD nMaxMessageSize,641 DWORD lReadTimeout,642 LPSECURITY_ATTRIBUTES lpSecurityAttributes)643 {644 645 dprintf(("KERNEL32: CreateMailslotW(%08x,%08x,%08x,%08x) not implemented - INVALID_HANDLE_VALUE\n",646 lpName, nMaxMessageSize, lReadTimeout, lpSecurityAttributes647 ));648 649 return (INVALID_HANDLE_VALUE);650 584 } 651 585 … … 1149 1083 1150 1084 /***************************************************************************** 1151 * Name : VOID WIN32API FreeLibraryAndExitThread1152 * Purpose : The FreeLibraryAndExitThread function decrements the reference1153 * count of a loaded dynamic-link library (DLL) by one, and then1154 * calls ExitThread to terminate the calling thread.1155 * The function does not return.1156 *1157 * The FreeLibraryAndExitThread function gives threads that are1158 * created and executed within a dynamic-link library an opportunity1159 * to safely unload the DLL and terminate themselves.1160 * Parameters:1161 * Variables :1162 * Result :1163 * Remark :1164 * Status : UNTESTED STUB1165 *1166 * Author : Markus Montkowski [Tha, 1998/05/21 20:57]1167 *****************************************************************************/1168 1169 VOID WIN32API FreeLibraryAndExitThread( HMODULE hLibModule, DWORD dwExitCode)1170 {1171 1172 dprintf(("KERNEL32: FreeLibraryAndExitThread(%08x,%08x) not implemented\n",1173 hLibModule, dwExitCode1174 ));1175 1176 }1177 1178 1179 /*****************************************************************************1180 1085 * Name : DWORD GetHandleInformation 1181 1086 * Purpose : The GetHandleInformation function obtains information about certain … … 1201 1106 } 1202 1107 1203 1204 /*****************************************************************************1205 * Name : BOOL GetMailslotInfo1206 * Purpose : The GetMailslotInfo function retrieves information about the1207 * specified mailslot.1208 * Parameters: HANDLE hMailslot mailslot handle1209 * LPDWORD lpMaxMessageSize address of maximum message size1210 * LPDWORD lpNextSize address of size of next message1211 * LPDWORD lpMessageCount address of number of messages1212 * LPDWORD lpReadTimeout address of read time-out1213 * Variables :1214 * Result : TRUE / FALSE1215 * Remark :1216 * Status : UNTESTED STUB1217 *1218 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1219 *****************************************************************************/1220 1221 BOOL WIN32API GetMailslotInfo(HANDLE hMailslot,1222 LPDWORD lpMaxMessageSize,1223 LPDWORD lpNextSize,1224 LPDWORD lpMessageCount,1225 LPDWORD lpReadTimeout)1226 {1227 dprintf(("KERNEL32: GetMailslotInfo(%08xh,%08xh,%08xh,%08xh,%08xh) not implemented\n",1228 hMailslot,1229 lpMaxMessageSize,1230 lpNextSize,1231 lpMessageCount,1232 lpReadTimeout));1233 1234 return (FALSE);1235 }1236 1108 1237 1109 … … 1798 1670 } 1799 1671 1800 1801 /*****************************************************************************1802 * Name : BOOL SetMailslotInfo1803 * Purpose : The SetMailslotInfo function sets the time-out value used by the1804 * specified mailslot for a read operation.1805 * Parameters: HANDLE hObject handle to a mailslot object1806 * DWORD dwReadTimeout read time-out1807 * Variables :1808 * Result : TRUE / FALSE1809 * Remark :1810 * Status : UNTESTED STUB1811 *1812 * Author : Patrick Haller [Mon, 1998/06/15 08:00]1813 *****************************************************************************/1814 1815 BOOL WIN32API SetMailslotInfo(HANDLE hObject,1816 DWORD dwReadTimeout)1817 {1818 dprintf(("KERNEL32: SetMailslotInfo(%08xh,%08xh) not implemented.\n",1819 hObject,1820 dwReadTimeout));1821 1822 return (FALSE);1823 }1824 1825 1826 1672 /***************************************************************************** 1827 1673 * Name : BOOL SetSystemPowerState
Note:
See TracChangeset
for help on using the changeset viewer.