1 | ' d3dx9xof.sbp
|
---|
2 |
|
---|
3 | Class ID3DXFile
|
---|
4 | Inherits IUnknown
|
---|
5 | Public
|
---|
6 | Abstract Function CreateEnumObject(pData As VoidPtr, dwFileLoadOptions As DWord, ppD3DXFileEnumObject As **ID3DXFileEnumObject) As DWord
|
---|
7 | Abstract Function CreateSaveObject(pData As VoidPtr, dwFileSaveOptions As DWord, dwFileFormat As DWord, ppD3DXFileSaveObject As **ID3DXFileSaveObject) As DWord
|
---|
8 | Abstract Function RegisterTemplates(pData As VoidPtr, dwSize As DWord) As DWord
|
---|
9 | Abstract Function RegisterEnumTemplates(pD3DXFileEnumObject As *ID3DXFileEnumObject) As DWord
|
---|
10 | End Class
|
---|
11 |
|
---|
12 |
|
---|
13 | Class ID3DXFileSaveObject
|
---|
14 | Inherits IUnknown
|
---|
15 | Public
|
---|
16 | Abstract Function GetFile(ppD3DXFile As **ID3DXFile) As DWord
|
---|
17 | Abstract Function AddDataObject(ByRef rguidTemplate As GUID, szName As BytePtr, pId As *GUID, cbSize As DWord, pvData As VoidPtr, ppObj As **ID3DXFileSaveData) As DWord
|
---|
18 | Abstract Function Save() As DWord
|
---|
19 | End Class
|
---|
20 |
|
---|
21 |
|
---|
22 | Class ID3DXFileSaveData
|
---|
23 | Inherits IUnknown
|
---|
24 | Public
|
---|
25 | Abstract Function GetSave(ppD3DXFileSaveObject As **ID3DXFileSaveObject) As DWord
|
---|
26 | Abstract Function GetName(pBuffer As BytePtr, lpdwSize As DWordPtr) As DWord
|
---|
27 | Abstract Function GetId(pGuid As *GUID) As DWord
|
---|
28 | Abstract Function GetType(pGuid As *GUID) As DWord
|
---|
29 | Abstract Function AddDataObject(ByRef rguidTemplate As GUID, szName As BytePtr, pId As *GUID, cbSize As DWord, pvData As VoidPtr, ppObj As **ID3DXFileSaveData) As DWord
|
---|
30 | Abstract Function AddDataReference(pBuffer As BytePtr, pGuid As *GUID) As DWord
|
---|
31 | End Class
|
---|
32 |
|
---|
33 |
|
---|
34 | Class ID3DXFileEnumObject
|
---|
35 | Inherits IUnknown
|
---|
36 | Public
|
---|
37 | Abstract Function GetFile(ppD3DXFile As **ID3DXFile) As DWord
|
---|
38 | Abstract Function GetChildren(dwSize As DWord) As DWord
|
---|
39 | Abstract Function GetChild(dwSize As DWord, ppD3DXFileData As **ID3DXFileData) As DWord
|
---|
40 | Abstract Function GetDataObjectById(ByRef rguidTemplate As GUID, ppD3DXFileData As **ID3DXFileData) As DWord
|
---|
41 | Abstract Function GetDataObjectByName(pName As BytePtr, ppD3DXFileData As **ID3DXFileData) As DWord
|
---|
42 | End Class
|
---|
43 |
|
---|
44 |
|
---|
45 | Class ID3DXFileData
|
---|
46 | Inherits IUnknown
|
---|
47 | Public
|
---|
48 | Abstract Function GetEnum(ppD3DXFileEnumObject As **ID3DXFileEnumObject) As DWord
|
---|
49 | Abstract Function GetName(pBuffer As BytePtr, lpdwSize As DWordPtr) As DWord
|
---|
50 | Abstract Function GetId(pId As *GUID) As DWord
|
---|
51 | Abstract Function Lock(dwSize As DWord, pData As VoidPtr) As DWord
|
---|
52 | Abstract Function Unlock() As DWord
|
---|
53 | Abstract Function GetType(pGuid As *GUID) As DWord
|
---|
54 | Abstract Function IsReference() As Long
|
---|
55 | Abstract Function GetChildren(dwSize As DWord) As DWord
|
---|
56 | Abstract Function GetChild(dwSize As DWord, ppD3DFileData As **ID3DXFileData) As DWord
|
---|
57 | End Class
|
---|
58 |
|
---|
59 | '未完成
|
---|
60 | 'Declare Function Lib "dx9abm" Alias "_abm" () As DWord
|
---|