Skip to content

Latest commit

 

History

History
71 lines (57 loc) · 2.41 KB

nf-wudfddi-iwdfmemory-getdatabuffer.md

File metadata and controls

71 lines (57 loc) · 2.41 KB
UID title description old-location tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:wudfddi.IWDFMemory.GetDataBuffer
IWDFMemory::GetDataBuffer (wudfddi.h)
The GetDataBuffer method retrieves the data buffer that is associated with a memory object.
wdf\iwdfmemory_getdatabuffer.htm
wdf
08/12/2022
IWDFMemory::GetDataBuffer
GetDataBuffer, GetDataBuffer method, GetDataBuffer method,IWDFMemory interface, IWDFMemory interface,GetDataBuffer method, IWDFMemory.GetDataBuffer, IWDFMemory::GetDataBuffer, UMDFMemoryObjectRef_910791a8-4fd9-47ff-93f9-f8f496e95272.xml, umdf.iwdfmemory_getdatabuffer, wdf.iwdfmemory_getdatabuffer, wudfddi/IWDFMemory::GetDataBuffer
wudfddi.h
Wudfddi.h
Desktop
1.5
Unavailable in UMDF 2.0 and later.
WUDFx.dll
Windows
IWDFMemory::GetDataBuffer
wudfddi/IWDFMemory::GetDataBuffer
APIRef
kbSyntax
COM
WUDFx.dll
IWDFMemory::GetDataBuffer

IWDFMemory::GetDataBuffer

-description

Warning

UMDF 2 is the latest version of UMDF and supersedes UMDF 1. All new UMDF drivers should be written using UMDF 2. No new features are being added to UMDF 1 and there is limited support for UMDF 1 on newer versions of Windows 10. Universal Windows drivers must use UMDF 2. For more info, see Getting Started with UMDF.

The GetDataBuffer method retrieves the data buffer that is associated with a memory object.

-parameters

-param BufferSize [out, optional]

A pointer to a variable that receives information that describes the size of the data buffer.

This parameter is optional. The driver can pass NULL if the driver does not require the information.

-returns

GetDataBuffer returns a pointer to the data buffer.

-remarks

For a code example of how to use the GetDataBuffer method, see IWDFDevice::SetPnpState.

-see-also