[pywin32-checkins] /hgroot/pywin32/pywin32: Fix autoduck for CreateSemaphore and Cr...
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: <pyw...@li...> - 2014-03-01 03:49:12
|
changeset a3d246d1a182 in /hgroot/pywin32/pywin32 details: http://pywin32.hg.sourceforge.net/hgweb/pywin32/pywin32/hgroot/pywin32/pywin32?cmd=changeset;node=a3d246d1a182 summary: Fix autoduck for CreateSemaphore and CreateWaitableTimer, and link for MSDN search diffstat: AutoDuck/pyhtml.fmt | 2 +- win32/src/win32event.i | 23 +++++++++++++---------- 2 files changed, 14 insertions(+), 11 deletions(-) diffs (52 lines): diff -r 33f1f89d5c5f -r a3d246d1a182 AutoDuck/pyhtml.fmt --- a/AutoDuck/pyhtml.fmt Fri Feb 21 14:23:40 2014 -0500 +++ b/AutoDuck/pyhtml.fmt Fri Feb 28 22:48:22 2014 -0500 @@ -471,7 +471,7 @@ .tag=pyseeapi, html, 1, 1 .pre=$(rmh)Win32 API References$(rmhe)$(par) -.format=$(term1)Search for <i>$1</i> at <a href="http://search.msdn.microsoft.com/search/results.aspx?view=msdn&qu=$1" target="_blank">msdn</a>, <a href="http://www.google.com/search?q=$1" target="_blank">google</a> or <a href="http://groups.google.com/groups?q=$1" target="_blank">google groups</a>.$(par) +.format=$(term1)Search for <i>$1</i> at <a href="http://search.msdn.microsoft.com/search/results.aspx?view=msdn&query=$1" target="_blank">msdn</a>, <a href="http://www.google.com/search?q=$1" target="_blank">google</a> or <a href="http://groups.google.com/groups?q=$1" target="_blank">google groups</a>.$(par) .tag=pyundocmfc, html, 2, 1 .pre=$(rmh)Undocumented MFC References$(par) diff -r 33f1f89d5c5f -r a3d246d1a182 win32/src/win32event.i --- a/win32/src/win32event.i Fri Feb 21 14:23:40 2014 -0500 +++ b/win32/src/win32event.i Fri Feb 28 22:48:22 2014 -0500 @@ -113,23 +113,26 @@ ); #ifndef MS_WINCE -// @pyswig <o PyHANDLE>|CreateSemaphore|Creates a Semaphore -// @rdesc The result is a handle to the created object +// @pyswig <o PyHANDLE>|CreateSemaphore|Creates a semaphore, or opens an existing one +// @rdesc The result is a handle to the object +// @pyseeapi CreateSemaphore PyHANDLE CreateSemaphore( - SECURITY_ATTRIBUTES *inNullSA, // lpSemaphoreAttributes, // @pyparm object|securityAttributes||Placeholder for furture security object, or None - LONG lInitialCount, // @pyparm int|initialCount||initial count - LONG lMaximumCount, // maximum count - TCHAR * INPUT_NULLOK // @pyparm <o PyIUnicode>|semaphoreName||semaphore-object name, or None + SECURITY_ATTRIBUTES *SemaphoreAttributes, // @pyparm <o PySECURITY_ATTRIBUTES>|SemaphoreAttributes||Specifies inheritance and security descriptor for object, or None for defaults + LONG lInitialCount, // @pyparm int|InitialCount||Initial count + LONG lMaximumCount, // @pyparm int|Maximum count||Maximum count + TCHAR * INPUT_NULLOK // @pyparm str|SemaphoreName||Semaphore-object name, or None ); +// @pyswig <o PyHANDLE>|CreateWaitableTimer|Creates a waitable timer, or opens an existing one +// @rdesc The result is a handle to the object +// @pyseeapi CreateWaitableTimer PyHANDLE CreateWaitableTimer( - SECURITY_ATTRIBUTES *inNullSA, // lpTimerAttributes, // pointer to security attributes - BOOL bManualReset, // @pyparm int|bManualReset||flag for manual reset state - TCHAR * INPUT_NULLOK // pointer to timer object name + SECURITY_ATTRIBUTES *TimerAttributes, // @pyparm <o PySECURITY_ATTRIBUTES>|TimerAttributes||Specifies inheritance and security descriptor for object, or None for defaults + BOOL bManualReset, // @pyparm bool|ManualReset||True for manual reset timer, or False to create a synchronization time + TCHAR * INPUT_NULLOK // @pyparm str|TimerName||Timer object name, or None ); #endif // MS_WINCE -// GetOverlappedResult %{ static BOOL MakeHandleList(PyObject *handleList, HANDLE **ppBuf, DWORD *pNumEntries) |