summaryrefslogtreecommitdiffstats
path: root/Alc/backends
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2011-09-24 13:55:44 -0700
committerChris Robinson <[email protected]>2011-09-24 13:55:44 -0700
commit044774ed72d829b86ee115b2c10ba98d50749ed5 (patch)
tree04fb71add3f985cddb5867ccf50bdf4b8cd53d9e /Alc/backends
parentcf56b0733b86019631c4b877ece6bcceb3b2b50a (diff)
Rename the MMDevAPI backend's MessageProc function
Diffstat (limited to 'Alc/backends')
-rw-r--r--Alc/backends/mmdevapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/mmdevapi.c b/Alc/backends/mmdevapi.c
index 6c5c5daf..541bea3d 100644
--- a/Alc/backends/mmdevapi.c
+++ b/Alc/backends/mmdevapi.c
@@ -482,7 +482,7 @@ static HRESULT DoReset(ALCdevice *device)
}
-static DWORD CALLBACK MessageProc(void *ptr)
+static DWORD CALLBACK MMDevApiMsgProc(void *ptr)
{
ThreadRequest *req = ptr;
IMMDeviceEnumerator *Enumerator;
@@ -621,7 +621,7 @@ static BOOL MMDevApiLoad(void)
ERR("Failed to create event: %lu\n", GetLastError());
else
{
- ThreadHdl = CreateThread(NULL, 0, MessageProc, &req, 0, &ThreadID);
+ ThreadHdl = CreateThread(NULL, 0, MMDevApiMsgProc, &req, 0, &ThreadID);
if(ThreadHdl != NULL)
InitResult = WaitForResponse(&req);
CloseHandle(req.FinishedEvt);