Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Retrieves the alpha type of the bitmap image.
Syntax
HRESULT GetFormat(
[out] WTS_ALPHATYPE *pat
);
Parameters
[out] pat
Type: WTS_ALPHATYPE*
When this method returns, contains a pointer to the alpha type of the bitmap image. One of the following values.
WTSAT_RGB
The bitmap does not contain an alpha channel for transparency.
WTSAT_ARGB
The bitmap contains an alpha channel for transparency.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | thumbcache.h |