| Microsoft DirectX 8.1 (Visual Basic) |
object.RegisterTemplates( _
TemplateData As Any, _
Size As Long)
If the method fails, an error is raised and Err.Number can be set to one of the following values.
| DXFILEERR_BADFILEFLOATSIZE |
| DXFILEERR_BADFILETYPE |
| DXFILEERR_BADFILEVERSION |
| DXFILEERR_BADVALUE |
| DXFILEERR_PARSEERROR |
For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.
All templates must specify a name and a Universally Unique Identifier (UUID).