ReactOS  0.4.14-dev-317-g96040ec
usb_request.cpp File Reference
#include "usbehci.h"
#include <debug.h>
Include dependency graph for usb_request.cpp:

Go to the source code of this file.

Classes

class  CUSBRequest
 

Macros

#define NDEBUG
 

Functions

NTSTATUS NTAPI InternalCreateUSBRequest (PUSBREQUEST *OutRequest)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 13 of file usb_request.cpp.

Function Documentation

◆ InternalCreateUSBRequest()

NTSTATUS NTAPI InternalCreateUSBRequest ( PUSBREQUEST OutRequest)

Definition at line 1821 of file usb_request.cpp.

1823 {
1824  PUSBREQUEST This;
1825 
1826  //
1827  // allocate requests
1828  //
1830  if (!This)
1831  {
1832  //
1833  // failed to allocate
1834  //
1836  }
1837 
1838  //
1839  // add reference count
1840  //
1841  This->AddRef();
1842 
1843  //
1844  // return result
1845  //
1846  *OutRequest = (PUSBREQUEST)This;
1847 
1848  //
1849  // done
1850  //
1851  return STATUS_SUCCESS;
1852 }
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158
#define TAG_USBEHCI
Definition: usbehci.h:12
IUSBRequest * PUSBREQUEST
return STATUS_SUCCESS
Definition: btrfs.c:2938