Notatka
Dostęp do tej strony wymaga autoryzacji. Może spróbować zalogować się lub zmienić katalogi.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Retrieves an interface to the DirectDraw object that was used to create this surface.
Syntax
HRESULT GetDDInterface(
[out] LPVOID *unnamedParam1
);
Parameters
[out] unnamedParam1
A pointer to a variable that receives a valid interface pointer if the call succeeds. Cast this pointer to an IUnknown interface pointer; then query for the IDirectDraw7 interface.
Return value
If the method succeeds, the return value is DD_OK.
If it fails, the method can return one of the following error values:
- DDERR_INVALIDOBJECT
- DDERR_INVALIDPARAMS
Requirements
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | ddraw.h |
| Library | Ddraw.lib |
| DLL | Ddraw.dll |