ReactOS  0.4.15-dev-3165-gdf6fff7
imcc.c File Reference
#include "precomp.h"
Include dependency graph for imcc.c:

Go to the source code of this file.

Functions

 START_TEST (imcc)
 

Function Documentation

◆ START_TEST()

START_TEST ( imcc  )

Definition at line 10 of file imcc.c.

11 {
12  HIMCC hImcc;
13  DWORD i;
14 
15  for (i = 0; i < 4; ++i)
16  {
17  hImcc = ImmCreateIMCC(i);
18  ok_long(LocalSize(hImcc), 4);
19  ok_long(ImmGetIMCCSize(hImcc), 4);
21  ImmDestroyIMCC(hImcc);
22  }
23 
24  hImcc = ImmCreateIMCC(5);
25  ok_long(LocalSize(hImcc), 5);
26  ok_long(ImmGetIMCCSize(hImcc), 5);
28  ImmDestroyIMCC(hImcc);
29 }
DWORD WINAPI ImmGetIMCCSize(HIMCC imcc)
Definition: utils.c:249
DWORD HIMCC
Definition: dimm.idl:76
HIMCC WINAPI ImmDestroyIMCC(HIMCC block)
Definition: utils.c:201
#define LMEM_LOCKCOUNT
Definition: winbase.h:376
SIZE_T NTAPI LocalSize(HLOCAL hMem)
Definition: heapmem.c:1777
#define ok_long(expression, result)
Definition: atltest.h:133
HIMCC WINAPI ImmCreateIMCC(DWORD size)
Definition: utils.c:191
unsigned long DWORD
Definition: ntddk_ex.h:95
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
Definition: glfuncs.h:248
UINT NTAPI LocalFlags(HLOCAL hMem)
Definition: heapmem.c:1503
DWORD WINAPI ImmGetIMCCLockCount(HIMCC imcc)
Definition: utils.c:231