IPixEngine5::LoadTextureFromFileAsync method
Loads a texture from a file and notifies the host asynchronously when it completes.
Syntax
HRESULT LoadTextureFromFileAsync(
BSTR fileName,
BSTR histogramDataFileName,
IPixEngine5Callbacks* callbacks,
DWORD requestCookie,
DWORD progressIntervalMsecs
);
Parameters
fileName
A COM string containing the name of the texture file.
histogramDataFileName
A COM string containing the name of the histogram data file associated with the texture.
callbacks
The address of an object that provides the IPixEngine5 callbacks interface.
requestCookie
A cookie that uniquely idenfies the request, and can be used to signal for it to be canceled.
progressIntervalMsecs
Not used.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Header | Vspixengine.h |
See also