| * This file has no copyright assigned and is placed in the Public Domain. |
| * This file is part of the mingw-w64 runtime package. |
| * No warranty is given; refer to the file DISCLAIMER.PD within this package. |
| LPTHREAD_START_ROUTINE pfn; |
| typedef struct _NOTIF_LIST { |
| } NOTIF_LIST,*PNOTIF_LIST; |
| InitializeListHead(&m_CommandQueue); |
| static LRESULT CALLBACK NotifWndProc(HWND hwnd,UINT uMsg,WPARAM wParam,LPARAM lParam); |
| HRESULT RegisterPnpNotification(CMSPAddress *pCMSPAddress); |
| HRESULT UnregisterPnpNotification(CMSPAddress *pCMSPAddress); |
| HRESULT QueueWorkItem(LPTHREAD_START_ROUTINE Function,PVOID Context,WINBOOL fSynchronous); |
| WINBOOL SignalThreadProc() { return SetEvent(m_hCommandEvent); } |
| CMSPCritSection m_CountLock; |
| CMSPCritSection m_QueueLock; |
| LIST_ENTRY m_CommandQueue; |
| HDEVNOTIFY m_hDevNotifyVideo; |
| HDEVNOTIFY m_hDevNotifyAudio; |
| CMSPCritSection m_NotifLock; |
| extern CMSPThread g_Thread; |