Changeset 9909 for trunk/include
- Timestamp:
- Mar 6, 2003, 11:21:37 AM (23 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/custombuild.h
r9900 r9909 215 215 // ODIN_DisableFolderShellLink 216 216 // 217 // Disable object creation in Odin folder. Desktop shortcuts will still be 217 // Disable object creation in Odin folder. Desktop shortcuts will still be 218 218 // created as WPS objects on the desktop. 219 219 // … … 229 229 // NOTE: This will only work in very specific cases; it is not a good general 230 230 // purpose solution. 231 // 231 // 232 232 //****************************************************************************** 233 233 void WIN32API ODIN_waveOutSetFixedBuffers(); … … 243 243 // NOTE: This will only work in very specific cases; it is not a good general 244 244 // purpose solution. 245 // 245 // 246 246 //****************************************************************************** 247 247 void WIN32API ODIN_waveInSetFixedBuffers(); 248 248 249 250 /** Enter odin context with this thread. */ 251 USHORT WIN32API ODIN_ThreadEnterOdinContext(void *pExceptionRegRec, BOOL fForceFSSwitch); 252 /** Leave odin context with this thread. */ 253 void WIN32API ODIN_ThreadLeaveOdinContext(void *pExceptionRegRec, USHORT selFSOld); 254 255 /** Leave odin context to call back into OS/2 code. */ 256 USHORT WIN32API ODIN_ThreadLeaveOdinContextNested(void *pExceptionRegRec, BOOL fRemoveOdinExcpt); 257 /** Re-enter Odin context after being back in OS/2 code. */ 258 void WIN32API ODIN_ThreadEnterOdinContextNested(void *pExceptionRegRec, BOOL fRestoreOdinExcpt, USHORT selFSOld); 259 260 249 261 #endif /*__CUSTOMBUILD_H__*/ 250 262 -
trunk/include/wprocess.h
r9798 r9909 20 20 #endif 21 21 #include <thread.h> 22 #include <FastInfoBlocks.h> 22 23 23 24 #define MAKE_THREADID(processid, threadid) ((processid << 16) | threadid) 24 25 #define ODIN_TO_OS2_THREADID(threadid) (threadid & 0xFFFF) 26 27 #define ODIN_GetCurrentThreadId() MAKE_THREADID(fibGetPid(), fibGetTid()) 28 #define ODIN_GetCurrentProcessId() fibGetPid() 25 29 26 30 TEB *WIN32API CreateTEB(HANDLE hThread, DWORD dwThreadId);
Note:
See TracChangeset
for help on using the changeset viewer.