#include <assert.h>
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "winuser.h"
#include "wine/asm.h"
#include "wine/debug.h"
#include "wine/heap.h"
#include "oleauto.h"
Go to the source code of this file.
◆ BITS_IN_CHARMASK
◆ BITS_PER_BYTE
◆ CHARMASK
◆ COBJMACROS
◆ NUM_ALPHA_CHARS
◆ FmtIdToPropStgName()
Definition at line 72 of file stg_prop.c.
73{
74 static const char fmtMap[] = "abcdefghijklmnopqrstuvwxyz012345";
75
77
80
87 else
88 {
92
93 *pstr++ = 5;
94 for (fmtptr = (
const BYTE *)rfmtid; fmtptr < (
const BYTE *)rfmtid +
sizeof(
FMTID); )
95 {
97
99 {
102 *pstr <= 'z')
103 *pstr += 'A' - 'a';
104 pstr++;
106 if (bitsRemaining == 0)
107 {
108 fmtptr++;
110 }
111 }
112 else
113 {
114 if (++fmtptr < (
const BYTE *)rfmtid +
sizeof(
FMTID))
115 i |= *fmtptr << bitsRemaining;
118 }
119 }
120 *pstr = 0;
121 }
124}
static const WCHAR szDocSummaryInfo[]
static const WCHAR szSummaryInfo[]
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
const FMTID FMTID_UserDefinedProperties
const FMTID FMTID_DocSummaryInformation
const FMTID FMTID_SummaryInformation
#define IsEqualGUID(rguid1, rguid2)
Referenced by IPropertySetStorage_fnCreate(), IPropertySetStorage_fnDelete(), IPropertySetStorage_fnOpen(), and testFmtId().
◆ PropStgNameToFmtId()
Definition at line 129 of file stg_prop.c.
130{
132
134
137
139 {
142 }
144 {
147 }
148 else
149 {
153
154 memset(rfmtid, 0,
sizeof(*rfmtid));
157 {
160
161 if (bitsUsed == 0)
162 fmtptr++;
163 wc = *++pstr - 'A';
165 {
166 wc += 'A' - 'a';
168 {
171 {
172 WARN(
"invalid character (%d)\n", *pstr);
174 }
175 }
176 }
177 *fmtptr |= wc << bitsUsed;
180 {
183 {
184 if (wc != 0)
185 {
186 WARN(
"extra bits\n");
188 }
189 break;
190 }
191 fmtptr++;
193 }
194 }
196 }
199}
int WINAPI lstrcmpiW(LPCWSTR str1, LPCWSTR str2)
GLenum GLint GLenum GLsizei GLsizei GLsizei GLint GLsizei const GLvoid * bits
#define STG_E_INVALIDNAME
Referenced by create_enum_stat_propset_stg(), and testFmtId().
◆ WINE_DEFAULT_DEBUG_CHANNEL()
| WINE_DEFAULT_DEBUG_CHANNEL |
( |
storage |
| ) |
|
◆ szDocSummaryInfo
| const WCHAR szDocSummaryInfo[] = L"\5DocumentSummaryInformation" |
|
static |
◆ szSummaryInfo
| const WCHAR szSummaryInfo[] = L"\5SummaryInformation" |
|
static |