#include <apitest.h>
#include <userenv.h>
Go to the source code of this file.
◆ GET_PROFILE_DIRS
◆ GET_PROFILE_DIRS_FUNC
◆ PGET_PROFILE_DIRS
◆ START_TEST()
START_TEST |
( |
GetProfileDirs |
| ) |
|
Definition at line 28 of file GetProfileDirs.c.
29{
34
37
39 {
41
45 ok(!
Success,
"%S: Expected failure, got success instead\n", GetProfileDirs->
pFuncName);
48
52 ok(!
Success,
"%S: Expected failure, got success instead\n", GetProfileDirs->
pFuncName);
55
56 cchSize = 0;
60 ok(!
Success,
"%S: Expected failure, got success instead\n", GetProfileDirs->
pFuncName);
63 ok(cchSize != 0,
"%S: Expected a profile directory size != 0, got 0\n", GetProfileDirs->
pFuncName);
64
65 cchSize = 0;
69 ok(!
Success,
"%S: Expected failure, got success instead\n", GetProfileDirs->
pFuncName);
72 ok(cchSize != 0,
"%S: Expected a profile directory size != 0, got 0\n", GetProfileDirs->
pFuncName);
73
78 ok(
Success,
"%S: Expected to success, got failure instead\n", GetProfileDirs->
pFuncName);
79 ok(dwLastError == 0xdeadbeef,
"%S: Expected error %lu, got %lu\n",
81 ok(cchSize != 0,
"%S: Expected a profile directory size != 0, got 0\n", GetProfileDirs->
pFuncName);
82 ok(*szProfileDir,
"%S: Expected a profile directory, got nothing\n", GetProfileDirs->
pFuncName);
83 }
84
85
86}
GET_PROFILE_DIRS GetProfileDirsFuncsList[]
#define ERROR_INSUFFICIENT_BUFFER
#define ERROR_INVALID_PARAMETER
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
GET_PROFILE_DIRS_FUNC pFunc
DWORD WINAPI GetLastError(void)
◆ GetProfileDirsFuncsList
Initial value:=
{
}
BOOL WINAPI GetAllUsersProfileDirectoryW(_Out_opt_ LPWSTR lpProfileDir, _Inout_ LPDWORD lpcchSize)
BOOL WINAPI GetDefaultUserProfileDirectoryW(_Out_opt_ LPWSTR lpProfileDir, _Inout_ LPDWORD lpcchSize)
BOOL WINAPI GetProfilesDirectoryW(_Out_ LPWSTR lpProfilesDir, _Inout_ LPDWORD lpcchSize)
Definition at line 20 of file GetProfileDirs.c.
Referenced by START_TEST().