77 hdsa =
Alloc (
sizeof(*hdsa));
105 TRACE(
"(%p)\n", hdsa);
135 TRACE(
"(%p %d %p)\n", hdsa, nIndex, pDest);
139 if ((nIndex < 0) || (nIndex >= hdsa->
nItemCount))
166 TRACE(
"(%p %d)\n", hdsa, nIndex);
170 if ((nIndex < 0) || (nIndex >= hdsa->
nItemCount))
175 TRACE(
"-- ret=%p\n", pSrc);
200 TRACE(
"(%p %d %p)\n", hdsa, nIndex, pSrc);
202 if ((!hdsa) || nIndex < 0)
214 hdsa->
nGrow * ((((nIndex + 1) - 1) / hdsa->
nGrow) + 1);
223 hdsa->
pData = lpTemp;
229 TRACE(
"-- move dest=%p src=%p size=%d\n",
256 TRACE(
"(%p %d %p)\n", hdsa, nIndex, pSrc);
258 if ((!hdsa) || nIndex < 0)
278 hdsa->
pData = lpTemp;
282 if (nIndex < hdsa->nItemCount) {
284 lpDest = (
char *) lpTemp + hdsa->
nItemSize;
286 TRACE(
"-- move dest=%p src=%p size=%d\n",
287 lpDest, lpTemp,
nSize);
294 TRACE(
"-- move dest=%p src=%p size=%d\n",
320 TRACE(
"(%p %d)\n", hdsa, nIndex);
328 if (nIndex < hdsa->nItemCount - 1) {
330 lpSrc = (
char *) lpDest + hdsa->
nItemSize;
332 TRACE(
"-- move dest=%p src=%p size=%d\n",
333 lpDest, lpSrc,
nSize);
348 hdsa->
pData = lpDest;
369 TRACE(
"(%p)\n", hdsa);
411 if ((enumProc)(lpItem,
lParam) == 0)
457 TRACE(
"(%p)\n", hdsa);
490 TRACE(
"(%p)\n", hdsa);
#define WINE_DEFAULT_DEBUG_CHANNEL(t)
PVOID ReAlloc(IN DWORD dwFlags, IN PVOID lpMem, IN SIZE_T dwBytes)
PVOID Alloc(IN DWORD dwFlags, IN SIZE_T dwBytes)
BOOL WINAPI DSA_GetItem(HDSA hdsa, INT nIndex, LPVOID pDest)
LPVOID WINAPI DSA_GetItemPtr(HDSA hdsa, INT nIndex)
VOID WINAPI DSA_EnumCallback(HDSA hdsa, PFNDSAENUMCALLBACK enumProc, LPVOID lParam)
BOOL WINAPI DSA_DeleteAllItems(HDSA hdsa)
BOOL WINAPI DSA_Destroy(HDSA hdsa)
INT WINAPI DSA_DeleteItem(HDSA hdsa, INT nIndex)
void WINAPI DSA_DestroyCallback(HDSA hdsa, PFNDSAENUMCALLBACK enumProc, LPVOID lParam)
INT WINAPI DSA_InsertItem(HDSA hdsa, INT nIndex, LPVOID pSrc)
HDSA WINAPI DSA_Clone(HDSA hdsa)
HDSA WINAPI DSA_Create(INT nSize, INT nGrow)
BOOL WINAPI DSA_SetItem(HDSA hdsa, INT nIndex, LPVOID pSrc)
ULONGLONG WINAPI DSA_GetSize(HDSA hdsa)
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
#define memmove(s1, s2, n)
int(CALLBACK * PFNDSAENUMCALLBACK)(void *p, void *pData)
*nSize LPSTR _Inout_ LPDWORD nSize
_In_opt_ PALLOCATE_FUNCTION _In_opt_ PFREE_FUNCTION Free