summaryrefslogtreecommitdiff
path: root/gnss/gnssUmdf/HelperUtility.cpp
diff options
context:
space:
mode:
authorAdonais Romero González <[email protected]>2018-11-28 11:43:42 -0800
committerGitHub <[email protected]>2018-11-28 11:43:42 -0800
commit7695b30331c53cfd119c8ffae81b2e049341d301 (patch)
treee0e5d38b88c84b72caad4e8a849421dd803f451c /gnss/gnssUmdf/HelperUtility.cpp
parent70876614eb9138f66399deb6a6f06e42645d9cd3 (diff)
Revert "Initial version of GNSS UMDF Sample Driver"
Diffstat (limited to 'gnss/gnssUmdf/HelperUtility.cpp')
-rw-r--r--gnss/gnssUmdf/HelperUtility.cpp43
1 files changed, 0 insertions, 43 deletions
diff --git a/gnss/gnssUmdf/HelperUtility.cpp b/gnss/gnssUmdf/HelperUtility.cpp
deleted file mode 100644
index 28f78c1f..00000000
--- a/gnss/gnssUmdf/HelperUtility.cpp
+++ /dev/null
@@ -1,43 +0,0 @@
-/*++
-
-Copyright (c) Microsoft Corporation. All rights reserved.
-
-Module Name:
-
- HelperUtility.cpp
-
-Abstract:
-
- This file contains the helper functions.
-
-Environment:
-
- Windows User-Mode Driver Framework
-
---*/
-
-#include "precomp.h"
-#include "Trace.h"
-#include "HelperUtility.h"
-
-#include "HelperUtility.tmh"
-
-
-_Use_decl_annotations_
-BOOL
-HelperUtility::GetDataFromCommand(
- _In_ PGNSS_DRIVERCOMMAND_PARAM Command,
- _In_ size_t DataLen,
- _Out_ void* Data
-)
-{
- ZeroMemory(Data, DataLen);
-
- if (!Command || (Command->CommandDataSize != DataLen))
- {
- return FALSE;
- }
-
- memcpy_s(Data, DataLen, Command->CommandData, DataLen);
- return TRUE;
-}