Microsoft DirectX 9.0 |
Applications use the GetCurrentService method to retrieve the current WST service.
Syntax
HRESULT GetCurrentService(
AM_WST_SERVICE* lpService
);
Parameters
lpService
[out] Specifies a pointer to an AM_WST_SERVICE enumeration to receive the service currently being used.
Value | Description |
AM_WST_SERVICE_None | No service is currently available. |
AM_WST_SERVICE_Text | The service is providing text. |
AM_WST_SERVICE_IDS | The service is providing IDS data. |
AM_WST_SERVICE_Invalid | The service is invalid. |
Return Values
When the method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
See Also