ID3D11Device::SetPrivateDataInterface method (d3d11.h)
Associate an IUnknown-derived interface with this device child and associate that interface with an application-defined guid.
Syntax
HRESULT SetPrivateDataInterface(
[in] REFGUID guid,
[in, optional] const IUnknown *pData
);
Parameters
[in] guid
Type: REFGUID
Guid associated with the interface.
[in, optional] pData
Type: const IUnknown*
Pointer to an IUnknown-derived interface to be associated with the device child.
Return value
Type: HRESULT
This method returns one of the following Direct3D 11 Return Codes.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d11.h |
Library | D3D11.lib |
See also
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla