| 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; |