diff --git a/libavdevice/dshow_capture.h b/libavdevice/dshow_capture.h
index a3f52318d646bcf824ae739782478b46dc0f2fe2..e34f14fcc7370ca5350b63633fe9066633a64a4a 100644
--- a/libavdevice/dshow_capture.h
+++ b/libavdevice/dshow_capture.h
@@ -179,7 +179,7 @@ long          WINAPI libAVMemInputPin_QueryInterface          (libAVMemInputPin
 unsigned long WINAPI libAVMemInputPin_AddRef                  (libAVMemInputPin *);
 unsigned long WINAPI libAVMemInputPin_Release                 (libAVMemInputPin *);
 long          WINAPI libAVMemInputPin_GetAllocator            (libAVMemInputPin *, IMemAllocator **);
-long          WINAPI libAVMemInputPin_NotifyAllocator         (libAVMemInputPin *, IMemAllocator *, WINBOOL);
+long          WINAPI libAVMemInputPin_NotifyAllocator         (libAVMemInputPin *, IMemAllocator *, BOOL);
 long          WINAPI libAVMemInputPin_GetAllocatorRequirements(libAVMemInputPin *, ALLOCATOR_PROPERTIES *);
 long          WINAPI libAVMemInputPin_Receive                 (libAVMemInputPin *, IMediaSample *);
 long          WINAPI libAVMemInputPin_ReceiveMultiple         (libAVMemInputPin *, IMediaSample **, long, long *);
diff --git a/libavdevice/dshow_pin.c b/libavdevice/dshow_pin.c
index 3d9d4687c5009c35ae944e955f13a8f9004004fb..676877e903a52f3d591d8fc67bdee36bc98b7c2c 100644
--- a/libavdevice/dshow_pin.c
+++ b/libavdevice/dshow_pin.c
@@ -286,7 +286,7 @@ libAVMemInputPin_GetAllocator(libAVMemInputPin *this, IMemAllocator **alloc)
 }
 long WINAPI
 libAVMemInputPin_NotifyAllocator(libAVMemInputPin *this, IMemAllocator *alloc,
-                                 WINBOOL rdwr)
+                                 BOOL rdwr)
 {
     dshowdebug("libAVMemInputPin_NotifyAllocator(%p)\n", this);
     return S_OK;