diff options
Diffstat (limited to 'gnss/gnssUmdf/FixHandler.h')
| -rw-r--r-- | gnss/gnssUmdf/FixHandler.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnss/gnssUmdf/FixHandler.h b/gnss/gnssUmdf/FixHandler.h new file mode 100644 index 00000000..6ade10a7 --- /dev/null +++ b/gnss/gnssUmdf/FixHandler.h @@ -0,0 +1,39 @@ +/*++ + +Copyright (c) Microsoft Corporation. All rights reserved. + +Module Name: + + Fixhandler.h + +Abstract: + + This module contains the type definitions of the fix logic of the Umdf Gnss Driver. + +Environment: + + Windows User-Mode Driver Framework + +--*/ + +#pragma once + +class CFixSession; + +class CFixHandler +{ +public: + NTSTATUS Initialize(_In_ WDFQUEUE Queue); + + NTSTATUS StartFix(_In_ WDFREQUEST Request, _In_ BOOL LocationServiceEnabled); + NTSTATUS StopFix(_In_ WDFREQUEST Request); + NTSTATUS GetFixRequest(_In_ WDFREQUEST Request); + NTSTATUS ModifyFix(_In_ WDFREQUEST Request); + NTSTATUS StopExistingSinglsShotFix(); + +private: + // Session objects (single shot, distance tracking etc.) + CFixSession _SingleShotSession; + + ULONG _CurrentSinglsShotSessionId = INVALID_SESSION_ID; +}; |
