IStiUSD::GetLastError 方法 (stiusd.h)
IStiUSD::GetLastError 方法會傳回與靜止映射裝置相關聯的最後已知錯誤。
語法
HRESULT GetLastError(
LPDWORD pdwLastDeviceError
);
參數
pdwLastDeviceError
呼叫端提供的緩衝區指標,其中會儲存錯誤碼。
傳回值
如果作業成功,方法會傳回S_OK。 否則,它會傳回 stierr.h中定義的其中一個 STIERR 前置詞錯誤碼。
要求
要求 | 價值 |
---|---|
目標平臺 | 桌面 |
標頭 | stiusd.h (包括 Stiusd.h) |