35 }
while (
Index++ < RetryCount);
37 DPRINT(
"Timeout while waiting for service to become ready %p\n", hService);
76 DPRINT(
"Starting system audio services\n");
85 DPRINT(
"Starting sysaudio service\n");
87 DPRINT(
"Starting wdmaud service\n");
BOOL WaitForService(SC_HANDLE hService, ULONG RetryCount)
BOOL StartAudioService(SC_HANDLE hSCManager, LPWSTR ServiceName, ULONG RetryCount)
BOOL StartSystemAudioServices(VOID)
static WCHAR ServiceName[]
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
BOOL WINAPI QueryServiceStatusEx(SC_HANDLE hService, SC_STATUS_TYPE InfoLevel, LPBYTE lpBuffer, DWORD cbBufSize, LPDWORD pcbBytesNeeded)
BOOL WINAPI CloseServiceHandle(SC_HANDLE hSCObject)
VOID WINAPI DECLSPEC_HOTPATCH Sleep(IN DWORD dwMilliseconds)
_Must_inspect_result_ _In_ WDFCHILDLIST _In_ PWDF_CHILD_LIST_ITERATOR _Out_ WDFDEVICE _Inout_opt_ PWDF_CHILD_RETRIEVE_INFO Info
_In_ WDFCOLLECTION _In_ ULONG Index
DWORD WINAPI GetLastError(void)
#define SERVICE_ALL_ACCESS
#define SC_MANAGER_CONNECT