IPixEngine::OpenFile method
Opens a graphics log.
Syntax
HRESULT OpenFile(
BSTR FileName,
BSTR registryBoot,
INewFramesCallback* callbacks,
IFileIOCallback* pFileIOCallback,
LCID uiLocale
);
Parameters
FileName
A COM string containing the name of the graphics log.
registryBoot
A COM string containing the registry root. The engine looks here for DIA and other registry keys.
callbacks
The address of a function used to notify the host that new frames have been parsed.
pFileIOCallback
The address of a function used to notify the host of file IO errors during parsing.
uiLocale
The locale ID used to present error messages according to locale settings.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Header | Vspixengine.h |
See also