| Microsoft DirectX 8.1 (C++) | 
Note The IDvdInfo interface is deprecated.
Retrieves the current DVD domain of the DVD player.
Syntax
HRESULT GetCurrentDomain(
    DVD_DOMAIN *pDomain
);
Parameters
pDomain
[out] Pointer to the current domain that is a member of the DVD_DOMAIN enumerated type.
Return Value
Returns an HRESULT value .
| Return code | Description | 
| S_OK | Success. | 
| VFW_E_DVD_OPERATION_INHIBITED | Requested action cannot occur at this point in the movie due to the authoring of the current DVD-Video disc. | 
Remarks
This method is valid in any domain. For more information, see DVD_DOMAIN.
See Also