ReactOS  0.4.13-dev-656-g74bcf30
usb_queue.cpp File Reference
#include "usbehci.h"
#include <debug.h>
Include dependency graph for usb_queue.cpp:

Go to the source code of this file.

Classes

class  CUSBQueue
 

Macros

#define NDEBUG
 

Functions

NTSTATUS NTAPI CreateUSBQueue (PUSBQUEUE *OutUsbQueue)
 

Macro Definition Documentation

◆ NDEBUG

#define NDEBUG

Definition at line 13 of file usb_queue.cpp.

Function Documentation

◆ CreateUSBQueue()

NTSTATUS NTAPI CreateUSBQueue ( PUSBQUEUE OutUsbQueue)

Definition at line 1204 of file usb_queue.cpp.

1206 {
1207  PUSBQUEUE This;
1208 
1209  //
1210  // allocate controller
1211  //
1213  if (!This)
1214  {
1215  //
1216  // failed to allocate
1217  //
1219  }
1220 
1221  //
1222  // add reference count
1223  //
1224  This->AddRef();
1225 
1226  //
1227  // return result
1228  //
1229  *OutUsbQueue = (PUSBQUEUE)This;
1230 
1231  //
1232  // done
1233  //
1234  return STATUS_SUCCESS;
1235 }
#define STATUS_INSUFFICIENT_RESOURCES
Definition: udferr_usr.h:158
#define TAG_USBEHCI
Definition: usbehci.h:12
IUSBQueue * PUSBQUEUE
return STATUS_SUCCESS
Definition: btrfs.c:2777