IUserInputString::GetImage method (photoacquire.h)
The GetImage
method retrieves the default image used to initialize an edit control.
Syntax
HRESULT GetImage(
[in] UINT nSize,
[out] HBITMAP *phBitmap,
[out] HICON *phIcon
);
Parameters
[in] nSize
Integer containing the size of the image.
[out] phBitmap
Pointer to the handle that specifies the image bitmap.
[out] phIcon
Pointer to the handle that specifies the image icon.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
A NULL pointer was passed where a non-NULL pointer is expected. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | photoacquire.h |
Library | PhotoAcquireUID.lib |