หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Retrieves the transport ID for the current transaction.
Syntax
HRESULT GetID(
[out] LPCWSTR *ppszId
);
Parameters
[out] ppszId
Pointer used to return the transport ID for the current transaction. Do not deallocate this pointer.
Return value
This method can return one of these values.
Possible return values include, but are not limited to, the following.
| Return code | Description |
|---|---|
|
Method completed successfully. |
|
ppszId is NULL. |
|
The transport ID is not available. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Target Platform | Windows |
| Header | wsdbase.h (include Wsdapi.h) |
| DLL | Wsdapi.dll |