blob: d999a53e0c95a2f62e76a83114ac242f8ea664cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
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
|