HRESULT GetTypeBitmap(
BSTRbstrType// in
longfType// in
long *hBitMap// out
);
The GetTypeBitmap function returns a bitmap handle based on a type. Large (120 × 79, 16–system color) and small (30 × 18, 16–system color) bitmaps are defined or supported. It is valid to return zero if a bitmap does not exist. Note that this function will not return an E_OUTOFMEMORY value because bitmaps are created during the Create call (which may return an E_OUTOFMEMORY value).
This function returns one of the following values.
Value | Meaning |
---|---|
E_INVALIDARG | One or more of the arguments is invalid. |
E_FAIL | Failure. |
S_OK | Success. |