' d3dx9xof.sbp #ifndef _INC_D3DX9XOF #define _INC_D3DX9XOF Class ID3DXFile Inherits IUnknown Public Abstract Function CreateEnumObject(pData As VoidPtr, dwFileLoadOptions As DWord, ppD3DXFileEnumObject As **ID3DXFileEnumObject) As DWord Abstract Function CreateSaveObject(pData As VoidPtr, dwFileSaveOptions As DWord, dwFileFormat As DWord, ppD3DXFileSaveObject As **ID3DXFileSaveObject) As DWord Abstract Function RegisterTemplates(pData As VoidPtr, dwSize As DWord) As DWord Abstract Function RegisterEnumTemplates(pD3DXFileEnumObject As *ID3DXFileEnumObject) As DWord End Class Class ID3DXFileSaveObject Inherits IUnknown Public Abstract Function GetFile(ppD3DXFile As **ID3DXFile) As DWord Abstract Function AddDataObject(ByRef rguidTemplate As GUID, szName As BytePtr, pId As *GUID, cbSize As DWord, pvData As VoidPtr, ppObj As **ID3DXFileSaveData) As DWord Abstract Function Save() As DWord End Class Class ID3DXFileSaveData Inherits IUnknown Public Abstract Function GetSave(ppD3DXFileSaveObject As **ID3DXFileSaveObject) As DWord Abstract Function GetName(pBuffer As BytePtr, lpdwSize As DWordPtr) As DWord Abstract Function GetId(pGuid As *GUID) As DWord Abstract Function GetType(pGuid As *GUID) As DWord Abstract Function AddDataObject(ByRef rguidTemplate As GUID, szName As BytePtr, pId As *GUID, cbSize As DWord, pvData As VoidPtr, ppObj As **ID3DXFileSaveData) As DWord Abstract Function AddDataReference(pBuffer As BytePtr, pGuid As *GUID) As DWord End Class Class ID3DXFileEnumObject Inherits IUnknown Public Abstract Function GetFile(ppD3DXFile As **ID3DXFile) As DWord Abstract Function GetChildren(dwSize As DWord) As DWord Abstract Function GetChild(dwSize As DWord, ppD3DXFileData As **ID3DXFileData) As DWord Abstract Function GetDataObjectById(ByRef rguidTemplate As GUID, ppD3DXFileData As **ID3DXFileData) As DWord Abstract Function GetDataObjectByName(pName As BytePtr, ppD3DXFileData As **ID3DXFileData) As DWord End Class Class ID3DXFileData Inherits IUnknown Public Abstract Function GetEnum(ppD3DXFileEnumObject As **ID3DXFileEnumObject) As DWord Abstract Function GetName(pBuffer As BytePtr, lpdwSize As DWordPtr) As DWord Abstract Function GetId(pId As *GUID) As DWord Abstract Function Lock(dwSize As DWord, pData As VoidPtr) As DWord Abstract Function Unlock() As DWord Abstract Function GetType(pGuid As *GUID) As DWord Abstract Function IsReference() As Long Abstract Function GetChildren(dwSize As DWord) As DWord Abstract Function GetChild(dwSize As DWord, ppD3DFileData As **ID3DXFileData) As DWord End Class ' 'Declare Function Lib "dx9abm" Alias "_abm" () As DWord #endif '_INC_D3DX9XOF