source: branch/egtra-gdiplus/directx9/d3dx9xof.sbp@ 421

Last change on this file since 421 was 1, checked in by (none), 18 years ago
File size: 2.7 KB
Line 
1' d3dx9xof.sbp
2
3
4#ifndef _INC_D3DX9XOF
5#define _INC_D3DX9XOF
6
7
8Class ID3DXFile
9 Inherits IUnknown
10Public
11 Abstract Function CreateEnumObject(pData As VoidPtr, dwFileLoadOptions As DWord, ppD3DXFileEnumObject As **ID3DXFileEnumObject) As DWord
12 Abstract Function CreateSaveObject(pData As VoidPtr, dwFileSaveOptions As DWord, dwFileFormat As DWord, ppD3DXFileSaveObject As **ID3DXFileSaveObject) As DWord
13 Abstract Function RegisterTemplates(pData As VoidPtr, dwSize As DWord) As DWord
14 Abstract Function RegisterEnumTemplates(pD3DXFileEnumObject As *ID3DXFileEnumObject) As DWord
15End Class
16
17
18Class ID3DXFileSaveObject
19 Inherits IUnknown
20Public
21 Abstract Function GetFile(ppD3DXFile As **ID3DXFile) As DWord
22 Abstract Function AddDataObject(ByRef rguidTemplate As GUID, szName As BytePtr, pId As *GUID, cbSize As DWord, pvData As VoidPtr, ppObj As **ID3DXFileSaveData) As DWord
23 Abstract Function Save() As DWord
24End Class
25
26
27Class ID3DXFileSaveData
28 Inherits IUnknown
29Public
30 Abstract Function GetSave(ppD3DXFileSaveObject As **ID3DXFileSaveObject) As DWord
31 Abstract Function GetName(pBuffer As BytePtr, lpdwSize As DWordPtr) As DWord
32 Abstract Function GetId(pGuid As *GUID) As DWord
33 Abstract Function GetType(pGuid As *GUID) As DWord
34 Abstract Function AddDataObject(ByRef rguidTemplate As GUID, szName As BytePtr, pId As *GUID, cbSize As DWord, pvData As VoidPtr, ppObj As **ID3DXFileSaveData) As DWord
35 Abstract Function AddDataReference(pBuffer As BytePtr, pGuid As *GUID) As DWord
36End Class
37
38
39Class ID3DXFileEnumObject
40 Inherits IUnknown
41Public
42 Abstract Function GetFile(ppD3DXFile As **ID3DXFile) As DWord
43 Abstract Function GetChildren(dwSize As DWord) As DWord
44 Abstract Function GetChild(dwSize As DWord, ppD3DXFileData As **ID3DXFileData) As DWord
45 Abstract Function GetDataObjectById(ByRef rguidTemplate As GUID, ppD3DXFileData As **ID3DXFileData) As DWord
46 Abstract Function GetDataObjectByName(pName As BytePtr, ppD3DXFileData As **ID3DXFileData) As DWord
47End Class
48
49
50Class ID3DXFileData
51 Inherits IUnknown
52Public
53 Abstract Function GetEnum(ppD3DXFileEnumObject As **ID3DXFileEnumObject) As DWord
54 Abstract Function GetName(pBuffer As BytePtr, lpdwSize As DWordPtr) As DWord
55 Abstract Function GetId(pId As *GUID) As DWord
56 Abstract Function Lock(dwSize As DWord, pData As VoidPtr) As DWord
57 Abstract Function Unlock() As DWord
58 Abstract Function GetType(pGuid As *GUID) As DWord
59 Abstract Function IsReference() As Long
60 Abstract Function GetChildren(dwSize As DWord) As DWord
61 Abstract Function GetChild(dwSize As DWord, ppD3DFileData As **ID3DXFileData) As DWord
62End Class
63
64'未完成
65'Declare Function Lib "dx9abm" Alias "_abm" () As DWord
66
67
68#endif '_INC_D3DX9XOF
Note: See TracBrowser for help on using the repository browser.