Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
0bfba69c
Commit
0bfba69c
authored
Nov 07, 2007
by
EA Durbin
Committed by
Alexandre Julliard
Nov 08, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3dxof: Fix some return values.
parent
0156dbba
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
28 deletions
+28
-28
d3dxof.c
dlls/d3dxof/d3dxof.c
+28
-28
No files found.
dlls/d3dxof/d3dxof.c
View file @
0bfba69c
...
...
@@ -121,7 +121,7 @@ static HRESULT WINAPI IDirectXFileImpl_CreateEnumObject(IDirectXFile* iface, LPV
*
ppEnumObj
=
(
LPDIRECTXFILEENUMOBJECT
)
object
;
return
S_FALSE
;
return
DXFILE_OK
;
}
static
HRESULT
WINAPI
IDirectXFileImpl_CreateSaveObject
(
IDirectXFile
*
iface
,
LPCSTR
szFileName
,
DXFILEFORMAT
dwFileFormat
,
LPDIRECTXFILESAVEOBJECT
*
ppSaveObj
)
...
...
@@ -130,7 +130,7 @@ static HRESULT WINAPI IDirectXFileImpl_CreateSaveObject(IDirectXFile* iface, LPC
FIXME
(
"(%p/%p)->(%s,%x,%p) stub!
\n
"
,
This
,
iface
,
szFileName
,
dwFileFormat
,
ppSaveObj
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileImpl_RegisterTemplates
(
IDirectXFile
*
iface
,
LPVOID
pvData
,
DWORD
cbSize
)
...
...
@@ -139,7 +139,7 @@ static HRESULT WINAPI IDirectXFileImpl_RegisterTemplates(IDirectXFile* iface, LP
FIXME
(
"(%p/%p)->(%p,%d) stub!
\n
"
,
This
,
iface
,
pvData
,
cbSize
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
const
IDirectXFileVtbl
IDirectXFile_Vtbl
=
...
...
@@ -165,7 +165,7 @@ HRESULT IDirectXFileBinaryImpl_Create(IDirectXFileBinaryImpl** ppObj)
*
ppObj
=
object
;
return
S
_OK
;
return
DXFILE
_OK
;
}
/*** IUnknown methods ***/
...
...
@@ -219,7 +219,7 @@ static HRESULT WINAPI IDirectXFileBinaryImpl_GetName(IDirectXFileBinary* iface,
FIXME
(
"(%p/%p)->(%p,%p) stub!
\n
"
,
This
,
iface
,
pstrNameBuf
,
pdwBufLen
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileBinaryImpl_GetId
(
IDirectXFileBinary
*
iface
,
LPGUID
pGuid
)
...
...
@@ -228,7 +228,7 @@ static HRESULT WINAPI IDirectXFileBinaryImpl_GetId(IDirectXFileBinary* iface, LP
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
pGuid
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
/*** IDirectXFileBinary methods ***/
...
...
@@ -238,7 +238,7 @@ static HRESULT WINAPI IDirectXFileBinaryImpl_GetSize(IDirectXFileBinary* iface,
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
pcbSize
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileBinaryImpl_GetMimeType
(
IDirectXFileBinary
*
iface
,
LPCSTR
*
pszMimeType
)
...
...
@@ -247,7 +247,7 @@ static HRESULT WINAPI IDirectXFileBinaryImpl_GetMimeType(IDirectXFileBinary* ifa
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
pszMimeType
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileBinaryImpl_Read
(
IDirectXFileBinary
*
iface
,
LPVOID
pvData
,
DWORD
cbSize
,
LPDWORD
pcbRead
)
...
...
@@ -256,7 +256,7 @@ static HRESULT WINAPI IDirectXFileBinaryImpl_Read(IDirectXFileBinary* iface, LPV
FIXME
(
"(%p/%p)->(%p, %d, %p) stub!
\n
"
,
This
,
iface
,
pvData
,
cbSize
,
pcbRead
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
const
IDirectXFileBinaryVtbl
IDirectXFileBinary_Vtbl
=
...
...
@@ -338,7 +338,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_GetName(IDirectXFileData* iface, LPST
FIXME
(
"(%p/%p)->(%p,%p) stub!
\n
"
,
This
,
iface
,
pstrNameBuf
,
pdwBufLen
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileDataImpl_GetId
(
IDirectXFileData
*
iface
,
LPGUID
pGuid
)
...
...
@@ -347,7 +347,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_GetId(IDirectXFileData* iface, LPGUID
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
pGuid
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
/*** IDirectXFileData methods ***/
...
...
@@ -357,7 +357,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_GetData(IDirectXFileData* iface, LPCS
FIXME
(
"(%p/%p)->(%s,%p,%p) stub!
\n
"
,
This
,
iface
,
szMember
,
pcbSize
,
ppvData
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileDataImpl_GetType
(
IDirectXFileData
*
iface
,
const
GUID
**
pguid
)
...
...
@@ -366,7 +366,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_GetType(IDirectXFileData* iface, cons
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
pguid
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileDataImpl_GetNextObject
(
IDirectXFileData
*
iface
,
LPDIRECTXFILEOBJECT
*
ppChildObj
)
...
...
@@ -375,7 +375,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_GetNextObject(IDirectXFileData* iface
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
ppChildObj
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileDataImpl_AddDataObject
(
IDirectXFileData
*
iface
,
LPDIRECTXFILEDATA
pDataObj
)
...
...
@@ -384,7 +384,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_AddDataObject(IDirectXFileData* iface
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
pDataObj
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileDataImpl_AddDataReference
(
IDirectXFileData
*
iface
,
LPCSTR
szRef
,
const
GUID
*
pguidRef
)
...
...
@@ -393,7 +393,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_AddDataReference(IDirectXFileData* if
FIXME
(
"(%p/%p)->(%s,%p) stub!
\n
"
,
This
,
iface
,
szRef
,
pguidRef
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileDataImpl_AddBinaryObject
(
IDirectXFileData
*
iface
,
LPCSTR
szName
,
const
GUID
*
pguid
,
LPCSTR
szMimeType
,
LPVOID
pvData
,
DWORD
cbSize
)
...
...
@@ -402,7 +402,7 @@ static HRESULT WINAPI IDirectXFileDataImpl_AddBinaryObject(IDirectXFileData* ifa
FIXME
(
"(%p/%p)->(%s,%p,%s,%p,%d) stub!
\n
"
,
This
,
iface
,
szName
,
pguid
,
szMimeType
,
pvData
,
cbSize
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
const
IDirectXFileDataVtbl
IDirectXFileData_Vtbl
=
...
...
@@ -486,7 +486,7 @@ static HRESULT WINAPI IDirectXFileDataReferenceImpl_GetName(IDirectXFileDataRefe
FIXME
(
"(%p/%p)->(%p,%p) stub!
\n
"
,
This
,
iface
,
pstrNameBuf
,
pdwBufLen
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileDataReferenceImpl_GetId
(
IDirectXFileDataReference
*
iface
,
LPGUID
pGuid
)
...
...
@@ -495,7 +495,7 @@ static HRESULT WINAPI IDirectXFileDataReferenceImpl_GetId(IDirectXFileDataRefere
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
pGuid
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
/*** IDirectXFileDataReference ***/
...
...
@@ -505,7 +505,7 @@ static HRESULT WINAPI IDirectXFileDataReferenceImpl_Resolve(IDirectXFileDataRefe
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
ppDataObj
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
const
IDirectXFileDataReferenceVtbl
IDirectXFileDataReference_Vtbl
=
...
...
@@ -591,7 +591,7 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetNextDataObject(IDirectXFileE
*
ppDataObj
=
(
LPDIRECTXFILEDATA
)
object
;
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileEnumObjectImpl_GetDataObjectById
(
IDirectXFileEnumObject
*
iface
,
REFGUID
rguid
,
LPDIRECTXFILEDATA
*
ppDataObj
)
...
...
@@ -600,7 +600,7 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetDataObjectById(IDirectXFileE
FIXME
(
"(%p/%p)->(%p,%p) stub!
\n
"
,
This
,
iface
,
rguid
,
ppDataObj
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileEnumObjectImpl_GetDataObjectByName
(
IDirectXFileEnumObject
*
iface
,
LPCSTR
szName
,
LPDIRECTXFILEDATA
*
ppDataObj
)
...
...
@@ -609,7 +609,7 @@ static HRESULT WINAPI IDirectXFileEnumObjectImpl_GetDataObjectByName(IDirectXFil
FIXME
(
"(%p/%p)->(%s,%p) stub!
\n
"
,
This
,
iface
,
szName
,
ppDataObj
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
const
IDirectXFileEnumObjectVtbl
IDirectXFileEnumObject_Vtbl
=
...
...
@@ -687,7 +687,7 @@ static HRESULT WINAPI IDirectXFileObjectImpl_GetName(IDirectXFileObject* iface,
FIXME
(
"(%p/%p)->(%p,%p) stub!
\n
"
,
This
,
iface
,
pstrNameBuf
,
pdwBufLen
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileObjectImpl_GetId
(
IDirectXFileObject
*
iface
,
LPGUID
pGuid
)
...
...
@@ -696,7 +696,7 @@ static HRESULT WINAPI IDirectXFileObjectImpl_GetId(IDirectXFileObject* iface, LP
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
pGuid
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
const
IDirectXFileObjectVtbl
IDirectXFileObject_Vtbl
=
...
...
@@ -772,7 +772,7 @@ static HRESULT WINAPI IDirectXFileSaveObjectImpl_SaveTemplates(IDirectXFileSaveO
FIXME
(
"(%p/%p)->(%d,%p) stub!
\n
"
,
This
,
iface
,
cTemplates
,
ppguidTemplates
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileSaveObjectImpl_CreateDataObject
(
IDirectXFileSaveObject
*
iface
,
REFGUID
rguidTemplate
,
LPCSTR
szName
,
const
GUID
*
pguid
,
DWORD
cbSize
,
LPVOID
pvData
,
LPDIRECTXFILEDATA
*
ppDataObj
)
...
...
@@ -781,7 +781,7 @@ static HRESULT WINAPI IDirectXFileSaveObjectImpl_CreateDataObject(IDirectXFileSa
FIXME
(
"(%p/%p)->(%p,%s,%p,%d,%p,%p) stub!
\n
"
,
This
,
iface
,
rguidTemplate
,
szName
,
pguid
,
cbSize
,
pvData
,
ppDataObj
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
HRESULT
WINAPI
IDirectXFileSaveObjectImpl_SaveData
(
IDirectXFileSaveObject
*
iface
,
LPDIRECTXFILEDATA
ppDataObj
)
...
...
@@ -790,7 +790,7 @@ static HRESULT WINAPI IDirectXFileSaveObjectImpl_SaveData(IDirectXFileSaveObject
FIXME
(
"(%p/%p)->(%p) stub!
\n
"
,
This
,
iface
,
ppDataObj
);
return
S_FALS
E
;
return
DXFILEERR_BADVALU
E
;
}
static
const
IDirectXFileSaveObjectVtbl
IDirectXFileSaveObject_Vtbl
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment