ReactOS 0.4.15-dev-8236-g99f0937
dllimport_framedyn.cpp
Go to the documentation of this file.
1
2#include <chstring.h>
3
5{
6public:
7 void
8 UseStuff(void)
9 {
10 AllocBeforeWrite(1);// ?AllocBeforeWrite@CHString@@IAEXH@Z(long)
11 AllocBuffer(1);// ?AllocBuffer@CHString@@IAEXH@Z(long)
12 AllocCopy(*this, 1, 2, 3);// ?AllocCopy@CHString@@IBEXAAV1@HHH@Z(ptr long long long)
13 AllocSysString(); // ?AllocSysString@CHString@@QBEPAGXZ()
14 AssignCopy(1, L"test");// ?AssignCopy@CHString@@IAEXHPBG@Z(long wstr)
15// ??0CHString@@QAE@ABV0@@Z(ptr)
16// ??0CHString@@QAE@PBD@Z(str)
17// ??0CHString@@QAE@PBE@Z(str)
18// ??0CHString@@QAE@PBG@Z(wstr)
19// ??0CHString@@QAE@PBGH@Z(wstr long)
20// ??0CHString@@QAE@GH@Z(long long)
21// ??0CHString@@QAE@XZ()
22 Collate(L"test");// ?Collate@CHString@@QBEHPBG@Z(wstr)
23 Compare(L"test");// ?Compare@CHString@@QBEHPBG@Z(wstr)
24 CompareNoCase(L"test");// ?CompareNoCase@CHString@@QBEHPBG@Z(wstr)
25 ConcatCopy(1, L"test", 2, L"data");// ?ConcatCopy@CHString@@IAEXHPBGH0@Z(long wstr long wstr)
26 ConcatInPlace(1, L"test");// ?ConcatInPlace@CHString@@IAEXHPBG@Z(long wstr)
27 CopyBeforeWrite();// ?CopyBeforeWrite@CHString@@IAEXXZ()
28 Empty();// ?Empty@CHString@@QAEXXZ()
29 Find(L"test");// ?Find@CHString@@QBEHPBG@Z(wstr)
30 Find(L'a');// ?Find@CHString@@QBEHG@Z(long)
31 FindOneOf(L"abc");// ?FindOneOf@CHString@@QBEHPBG@Z(wstr)
32 Format(1, 123);// ?Format@CHString@@QAAXIZZ(long long long)
33 Format(L"Format %x", 123);// ?Format@CHString@@QAAXPBGZZ(long wstr long)
34 FormatMessageW(1, 123);// ?FormatMessageW@CHString@@QAAXIZZ(long long long)
35 FormatMessageW(L"Format %x", 123);// ?FormatMessageW@CHString@@QAAXPBGZZ(long ptr long)
36 FormatV(L"Format %x", NULL);// ?FormatV@CHString@@QAEXPBGPAD@Z(wstr long)
37 FreeExtra();// ?FreeExtra@CHString@@QAEXXZ()
38 GetAllocLength();// ?GetAllocLength@CHString@@QBEHXZ()
39 GetAt(0);// ?GetAt@CHString@@QBEGH@Z(long)
40 GetBuffer(0);// ?GetBuffer@CHString@@QAEPAGH@Z(long)
41 GetBufferSetLength(1);// ?GetBufferSetLength@CHString@@QAEPAGH@Z(long)
42 (void)*(volatile int*)GetData();// ?GetData@CHString@@IBEPAUCHStringData@@XZ()
43 GetLength();// ?GetLength@CHString@@QBEHXZ()
44 Init();// ?Init@CHString@@IAEXXZ()
45 IsEmpty();// ?IsEmpty@CHString@@QBEHXZ()
46 Left(1);// ?Left@CHString@@QBE?AV1@H@Z(long)
47 LoadStringW(1);// ?LoadStringW@CHString@@QAEHI@Z(long)
48 LoadStringW(1, NULL, 256);// ?LoadStringW@CHString@@IAEHIPAGI@Z(long wstr long)
49 LockBuffer();// ?LockBuffer@CHString@@QAEPAGXZ()
50 MakeLower();// ?MakeLower@CHString@@QAEXXZ()
51 MakeReverse();// ?MakeReverse@CHString@@QAEXXZ()
52 MakeUpper();// ?MakeUpper@CHString@@QAEXXZ()
53 Mid(12);// ?Mid@CHString@@QBE?AV1@H@Z(long)
54 Mid(12, 4);// ?Mid@CHString@@QBE?AV1@HH@Z(long long)
55 Release(NULL);// ?Release@CHString@@KGXPAUCHStringData@@@Z(ptr)
56 Release();// ?Release@CHString@@IAEXXZ()
57 ReleaseBuffer(); // ?ReleaseBuffer@CHString@@QAEXH@Z(long)
58 ReverseFind(L'a');// ?ReverseFind@CHString@@QBEHG@Z(long)
59 Right(2);// ?Right@CHString@@QBE?AV1@H@Z(long)
60 SafeStrlen(L"test");// ?SafeStrlen@CHString@@KGHPBG@Z(wstr)
61 SetAt(0, L'a');// ?SetAt@CHString@@QAEXHG@Z(long long)
62 SpanExcluding(L"test");// ?SpanExcluding@CHString@@QBE?AV1@PBG@Z(long wstr)
63 SpanIncluding(L"test");// ?SpanIncluding@CHString@@QBE?AV1@PBG@Z(long wstr)
64 TrimLeft();// ?TrimLeft@CHString@@QAEXXZ()
65 TrimRight();// ?TrimRight@CHString@@QAEXXZ()
66 UnlockBuffer();// ?UnlockBuffer@CHString@@QAEXXZ()
67// ??BCHString@@QBEPBGXZ(ptr)
68// ??YCHString@@QAEABV0@ABV0@@Z(ptr)
69// ??YCHString@@QAEABV0@D@Z(long)
70// ??YCHString@@QAEABV0@PBG@Z(wstr)
71// ??YCHString@@QAEABV0@G@Z(long)
72// ??4CHString@@QAEABV0@PAV0@@Z(ptr)
73// ??4CHString@@QAEABV0@ABV0@@Z(ptr)
74// ??4CHString@@QAEABV0@PBD@Z(str)
75// ??4CHString@@QAEABV0@D@Z(long)
76// ??4CHString@@QAEABV0@PBE@Z(str)
77// ??4CHString@@QAEABV0@PBG@Z(wstr)
78// ??4CHString@@QAEABV0@G@Z(long)
79// ??ACHString@@QBEGH@Z(long)
80// ??1CHString@@QAE@XZ()
81// ??H@YG?AVCHString@@GABV0@@Z(long ptr)
82// ??H@YG?AVCHString@@ABV0@G@Z(ptr long)
83// ??H@YG?AVCHString@@ABV0@PBG@Z(ptr wstr)
84// ??H@YG?AVCHString@@PBGABV0@@Z(wstr ptr)
85// ??H@YG?AVCHString@@ABV0@0@Z(ptr ptr)
86
87 }
88};
89
90int
92{
94
95 String.UseStuff();
96
97 return 0;
98}
void UseStuff(void)
CHStringData * GetData() const
Definition: chstring.cpp:766
void ConcatInPlace(int nSrcLen, CHSTRING_LPCWSTR lpszSrcData)
Definition: chstring.cpp:439
CHString Left(int nCount) const
Definition: chstring.cpp:805
void TrimLeft()
Definition: chstring.cpp:1093
void SetAt(int nIndex, CHSTRING_WCHAR ch)
Definition: chstring.cpp:1059
int GetLength() const
Definition: chstring.cpp:781
void CopyBeforeWrite()
Definition: chstring.cpp:522
int Compare(CHSTRING_LPCWSTR lpsz) const
Definition: chstring.cpp:419
void Init()
Definition: chstring.cpp:789
void UnlockBuffer()
Definition: chstring.cpp:1174
void AssignCopy(int nSrcLen, CHSTRING_LPCWSTR lpszSrcData)
Definition: chstring.cpp:382
CHString SpanExcluding(CHSTRING_LPCWSTR lpszCharSet) const
Definition: chstring.cpp:1069
void MakeUpper()
Definition: chstring.cpp:882
void ReleaseBuffer(int nNewLength=-1)
Definition: chstring.cpp:980
void MakeLower()
Definition: chstring.cpp:858
CHString Right(int nCount) const
Definition: chstring.cpp:1021
void FormatMessageW(UINT nFormatID,...)
Definition: chstring.cpp:653
void MakeReverse()
Definition: chstring.cpp:870
int Collate(CHSTRING_LPCWSTR lpsz) const
Definition: chstring.cpp:409
CHString Mid(int nFirst) const
Definition: chstring.cpp:894
int LoadStringW(UINT nID)
Definition: chstring.cpp:826
void TrimRight()
Definition: chstring.cpp:1126
void ConcatCopy(int nSrc1Len, CHSTRING_LPCWSTR lpszSrc1Data, int nSrc2Len, CHSTRING_LPCWSTR lpszSrc2Data)
Definition: chstring.cpp:490
CHString SpanIncluding(CHSTRING_LPCWSTR lpszCharSet) const
Definition: chstring.cpp:1081
void AllocCopy(CHString &dest, int nCopyLen, int nCopyIndex, int nExtraLen) const
Definition: chstring.cpp:325
int CompareNoCase(CHSTRING_LPCWSTR lpsz) const
Definition: chstring.cpp:429
CHSTRING_LPWSTR LockBuffer()
Definition: chstring.cpp:844
int Find(CHSTRING_WCHAR ch) const
Definition: chstring.cpp:574
CHSTRING_LPWSTR GetBufferSetLength(int nNewLength)
Definition: chstring.cpp:752
void Release()
Definition: chstring.cpp:940
void Empty()
Definition: chstring.cpp:549
CHSTRING_LPWSTR AllocSysString() const
Definition: chstring.cpp:365
int ReverseFind(CHSTRING_WCHAR ch) const
Definition: chstring.cpp:1002
void AllocBuffer(int nLen)
Definition: chstring.cpp:275
void FormatV(CHSTRING_LPCWSTR lpszFormat, va_list argList)
Definition: chstring.cpp:670
int GetAllocLength() const
Definition: chstring.cpp:700
int FindOneOf(CHSTRING_LPCWSTR lpszCharSet) const
Definition: chstring.cpp:612
void FreeExtra()
Definition: chstring.cpp:678
void AllocBeforeWrite(int nLen)
Definition: chstring.cpp:259
CHSTRING_WCHAR GetAt(int nIndex) const
Definition: chstring.cpp:708
static int WINAPI SafeStrlen(CHSTRING_LPCWSTR lpsz)
Definition: chstring.cpp:1042
BOOL IsEmpty() const
Definition: chstring.cpp:797
#define NULL
Definition: types.h:112
int test()
return pMemory GetBuffer()
#define L(x)
Definition: ntvdm.h:50
_Must_inspect_result_ _In_ WDFDEVICE _In_ WDFSTRING String
Definition: wdfdevice.h:2433