summaryrefslogtreecommitdiff
path: root/avstream/avscamera/sys/imagecapture.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'avstream/avscamera/sys/imagecapture.cpp')
-rw-r--r--avstream/avscamera/sys/imagecapture.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/avstream/avscamera/sys/imagecapture.cpp b/avstream/avscamera/sys/imagecapture.cpp
index 06d334d3..7ba53fa4 100644
--- a/avstream/avscamera/sys/imagecapture.cpp
+++ b/avstream/avscamera/sys/imagecapture.cpp
@@ -121,9 +121,11 @@ Close(
{
PAGED_CODE();
+ // Reset the image sim's counts and queues.
Reset();
- return STATUS_SUCCESS;
+ // Call the base Close operation.
+ return CCapturePin::Close(Irp);
}
// ImageCapturePinDispatch: