ReactOS 0.4.17-dev-1281-g065abb3
HubIdText Struct Reference

Public Member Functions

VOID Format (_In_z_ _Printf_format_string_ PCWSTR Format,...)
 
VOID Set (_In_z_ PCWSTR Text)
 
VOID Append (_In_z_ PCWSTR Text)
 

Public Attributes

WCHAR Buffer [HUB_ID_MAX_CHARS]
 
NTSTATUS Status
 

Detailed Description

One id being put together in a fixed buffer; the first failure sticks.

Definition at line 94 of file hubid.cpp.

Member Function Documentation

◆ Append()

VOID HubIdText::Append ( _In_z_ PCWSTR  Text)
inline

Definition at line 119 of file hubid.cpp.

121 {
122 if (NT_SUCCESS(Status))
124 }
Definition: bufpool.h:45
#define NT_SUCCESS(StatCode)
Definition: apphelp.c:33
Status
Definition: gdiplustypes.h:24
Text
Definition: hubid.cpp:956
NTSTRSAFEAPI RtlStringCbCatW(_Inout_updates_bytes_(cbDest) _Always_(_Post_z_) NTSTRSAFE_PWSTR pszDest, _In_ size_t cbDest, _In_ NTSTRSAFE_PCWSTR pszSrc)
Definition: ntstrsafe.h:636

◆ Format()

VOID HubIdText::Format ( _In_z_ _Printf_format_string_ PCWSTR  Format,
  ... 
)
inline

Definition at line 100 of file hubid.cpp.

103 {
105
108 va_end(Args);
109 }
char ** Args
Definition: acdebug.h:353
#define va_end(v)
Definition: stdarg.h:28
#define va_start(v, l)
Definition: stdarg.h:26
char * va_list
Definition: vadefs.h:50
NTSTRSAFEAPI RtlStringCbVPrintfW(_Out_writes_bytes_(cbDest) _Always_(_Post_z_) NTSTRSAFE_PWSTR pszDest, _In_ size_t cbDest, _In_ _Printf_format_string_ NTSTRSAFE_PCWSTR pszFormat, _In_ va_list argList)
Definition: ntstrsafe.h:1052

◆ Set()

VOID HubIdText::Set ( _In_z_ PCWSTR  Text)
inline

Definition at line 112 of file hubid.cpp.

114 {
116 }
NTSTRSAFEAPI RtlStringCbCopyW(_Out_writes_bytes_(cbDest) _Always_(_Post_z_) NTSTRSAFE_PWSTR pszDest, _In_ size_t cbDest, _In_ NTSTRSAFE_PCWSTR pszSrc)
Definition: ntstrsafe.h:174

Member Data Documentation

◆ Buffer

WCHAR HubIdText::Buffer[HUB_ID_MAX_CHARS]

Definition at line 96 of file hubid.cpp.

◆ Status

NTSTATUS HubIdText::Status

Definition at line 97 of file hubid.cpp.


The documentation for this struct was generated from the following file: