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 |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for