diff options
| author | Adonais Romero González <[email protected]> | 2018-11-28 11:43:42 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-11-28 11:43:42 -0800 |
| commit | 7695b30331c53cfd119c8ffae81b2e049341d301 (patch) | |
| tree | e0e5d38b88c84b72caad4e8a849421dd803f451c /gnss/gnssUmdf/HelperUtility.cpp | |
| parent | 70876614eb9138f66399deb6a6f06e42645d9cd3 (diff) | |
Revert "Initial version of GNSS UMDF Sample Driver"
Diffstat (limited to 'gnss/gnssUmdf/HelperUtility.cpp')
| -rw-r--r-- | gnss/gnssUmdf/HelperUtility.cpp | 43 |
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; -} |
