IStillImageW::Initialize method (sti.h)
The IStillImage::Initialize method initializes an instance of the COM object that defines the IStillImage COM interface. This method is for internal system use only.
Syntax
HRESULT Initialize(
[in] HINSTANCE hinst,
DWORD dwVersion
);
Parameters
[in] hinst
Caller-supplied instance handle of the calling process. This handle is obtained by calling GetModuleName(NULL).
dwVersion
Caller-supplied STI version number. This value must be STI_VERSION, defined in Sti.h.
Return value
If the operation succeeds, the method returns S_OK. Otherwise, it returns one of the STIERR-prefixed error codes defined in stierr.h.
Remarks
The IStillImage::Initialize method initializes the COM object instance that was created by calling IStillImage::StiCreateInstance.
Because IStillImage::Initialize is called by IStillImage::StiCreateInstance, clients of the IStillImage COM interface do not typically call this method directly.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | sti.h (include Sti.h) |