#include <rtl.h>
#include <debug.h>
Go to the source code of this file.
|
PVOID | LoadOle32Export (PVOID *BaseAddress, const PCHAR ProcedureName) |
|
ULONG NTAPI | PropertyLengthAsVariant (IN PSERIALIZEDPROPERTYVALUE pProp, IN ULONG cbProp, IN USHORT CodePage, IN BYTE bReserved) |
|
BOOLEAN NTAPI | RtlConvertPropertyToVariant (IN PSERIALIZEDPROPERTYVALUE prop, IN USHORT CodePage, OUT PROPVARIANT *pvar, IN PPMemoryAllocator pma) |
|
PSERIALIZEDPROPERTYVALUE NTAPI | RtlConvertVariantToProperty (IN const PROPVARIANT *pvar, IN USHORT CodePage, OUT PSERIALIZEDPROPERTYVALUE pprop OPTIONAL, IN OUT PULONG pcb, IN PROPID pid, IN BOOLEAN fReserved, IN OUT PULONG pcIndirect OPTIONAL) |
|
◆ NDEBUG
◆ PPMemoryAllocator
◆ PSERIALIZEDPROPERTYVALUE
◆ LoadOle32Export()
Definition at line 33 of file propvar.c.
34{
37 PVOID ProcedureAddress;
38
39
42 {
44 }
45
47
48
50 0, &ProcedureAddress);
52 {
54 }
55
56
57 return ProcedureAddress;
58}
#define NT_SUCCESS(StatCode)
NTSTATUS NTAPI DECLSPEC_HOTPATCH LdrLoadDll(_In_opt_ PWSTR SearchPath, _In_opt_ PULONG DllCharacteristics, _In_ PUNICODE_STRING DllName, _Out_ PVOID *BaseAddress)
NTSTATUS NTAPI LdrGetProcedureAddress(_In_ PVOID BaseAddress, _In_opt_ _When_(Ordinal==0, _Notnull_) PANSI_STRING Name, _In_opt_ _When_(Name==NULL, _In_range_(>, 0)) ULONG Ordinal, _Out_ PVOID *ProcedureAddress)
_In_ HANDLE _Outptr_result_bytebuffer_ ViewSize PVOID * BaseAddress
DECLSPEC_NORETURN NTSYSAPI VOID NTAPI RtlRaiseStatus(_In_ NTSTATUS Status)
NTSYSAPI VOID NTAPI RtlInitAnsiString(PANSI_STRING DestinationString, PCSZ SourceString)
Referenced by PropertyLengthAsVariant(), RtlConvertPropertyToVariant(), and RtlConvertVariantToProperty().
◆ PropertyLengthAsVariant()
Definition at line 65 of file propvar.c.
69{
73
75 {
76
78 "StgPropertyLengthAsVariant");
79
80 Length = ProcedureAddress(pProp, cbProp, CodePage, bReserved);
81 }
83 {
85 {
87 }
88 }
90
92}
NTSTATUS NTAPI LdrUnloadDll(_In_ PVOID BaseAddress)
_In_ ULONG _In_ ULONG _In_ ULONG Length
PVOID LoadOle32Export(PVOID *BaseAddress, const PCHAR ProcedureName)
PVOID PSERIALIZEDPROPERTYVALUE
◆ RtlConvertPropertyToVariant()
Definition at line 99 of file propvar.c.
103{
107
109 {
110
112 "StgConvertPropertyToVariant");
113
114 Success = ProcedureAddress(prop, CodePage, pvar, pma);
115 }
117 {
119 {
121 }
122 }
124
126}
◆ RtlConvertVariantToProperty()
Definition at line 133 of file propvar.c.
140{
145
147 {
148
150 "StgConvertVariantToProperty");
151
152 Serialized = ProcedureAddress(pvar, CodePage, pprop, pcb,
pid, fReserved, pcIndirect);
153 }
155 {
157 {
159 }
160 }
162
163 return Serialized;
164}
static const CLSID IPropertyStorage UINT *static const PROPSPEC PROPVARIANT *static UINT const PROPSPEC PROPVARIANT PROPID
_In_ ULONG_PTR _In_ ULONG _Out_ ULONG_PTR * pid
◆ Old32Dll