summaryrefslogtreecommitdiff
path: root/hid/hclient/strings.h
diff options
context:
space:
mode:
authorDave Wilson <[email protected]>2015-04-29 09:48:49 -0700
committerDave Wilson <[email protected]>2015-04-29 10:47:29 -0700
commitd40232638faaab19de557e70a3ee938da7a35295 (patch)
tree14e61c973745949af186b7940e3a53d25322f5de /hid/hclient/strings.h
parent02e5b090a6131a7cc1b90f4a9373117c9e3c7088 (diff)
samples update for //build
Diffstat (limited to 'hid/hclient/strings.h')
-rw-r--r--hid/hclient/strings.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/hid/hclient/strings.h b/hid/hclient/strings.h
new file mode 100644
index 00000000..d999a53e
--- /dev/null
+++ b/hid/hclient/strings.h
@@ -0,0 +1,49 @@
+/*++
+
+Copyright (c) Microsoft 1998, All Rights Reserved
+
+Module Name:
+
+ strings.h
+
+Abstract:
+
+ This module contains the public function definitions for the routines
+ in strings.c that handle conversion of integer/data buffer to/from
+ string represenation
+
+Environment:
+
+ User mode
+
+Revision History:
+
+ May-98 : Created
+
+--*/
+
+#ifndef __STRINGS_H__
+#define __STRINGS_H__
+
+VOID
+Strings_CreateDataBufferString(
+ _In_reads_bytes_(DataBufferLength) PCHAR DataBuffer,
+ _In_ ULONG DataBufferLength,
+ _In_ ULONG NumBytesToDisplay,
+ _In_ ULONG DisplayBlockSize,
+ _Outptr_result_maybenull_ LPSTR *BufferString
+);
+
+_When_(*nUnsigneds == 0, _At_(*UnsignedList, _Post_null_))
+_When_(*nUnsigneds > 0, _At_(*UnsignedList, _Post_notnull_))
+_Success_(return != FALSE)
+BOOL
+Strings_StringToUnsignedList(
+ _Inout_ LPSTR InString,
+ _In_ ULONG UnsignedSize,
+ _In_ ULONG Base,
+ _Outptr_result_bytebuffer_maybenull_(*nUnsigneds) PCHAR *UnsignedList,
+ _Out_ PULONG nUnsigneds
+);
+
+#endif