VirtualBox

Changeset 45031 in vbox for trunk/include/VBox/vmm


Ignore:
Timestamp:
Mar 13, 2013 9:21:34 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
84277
Message:

pdmcardreaderinfs.h: Todo about repeating the interface name in each method name.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vmm/pdmcardreaderinfs.h

    r41363 r45031  
    11/* $Id$ */
    2 
    32/** @file
    43 * cardreaderinfs - interface between Usb Card Reader device and its driver.
     
    2726
    2827#ifndef ___VBox_vmm_pdmcardreaderinfs_h
    29 # define ___VBox_vmm_pdmcardreaderinfs_h
     28#define ___VBox_vmm_pdmcardreaderinfs_h
    3029
    3130#include <VBox/types.h>
    3231
    33 #define PDMICARDREADERDOWN_IID  "78d65378-889c-4418-8bc2-7a89a5af2817"
    3432
    3533typedef struct PDMICARDREADER_IO_REQUEST
     
    5048
    5149
     50#define PDMICARDREADERDOWN_IID  "78d65378-889c-4418-8bc2-7a89a5af2817"
    5251typedef struct PDMICARDREADERDOWN PDMICARDREADERDOWN;
    5352typedef PDMICARDREADERDOWN *PPDMICARDREADERDOWN;
    5453struct PDMICARDREADERDOWN
    5554{
     55    /** @todo r=bird: Why on earth is CardReaderDown part of the names here??
     56     *  Please do s/pfnCardReaderDown/pfn/g. */
    5657    DECLR3CALLBACKMEMBER(int, pfnCardReaderDownEstablishContext,(PPDMICARDREADERDOWN pInterface));
    5758    DECLR3CALLBACKMEMBER(int, pfnCardReaderDownConnect,(PPDMICARDREADERDOWN pInterface, void *pvUser, const char *pszCardReaderName,
     
    7273    /**
    7374     * Up level provides pvInBuffer of cbInBuffer bytes to call SCardControl, also it specify bytes it expects to receive
    74      * @note: device/driver implementation should copy buffers before execution in async mode, and both layers shouldn't
    75      * expect permanent storage for the buffer.
     75     * @note    Device/driver implementation should copy buffers before execution in
     76     *          async mode, and both layers shouldn't expect permanent storage for the
     77     *          buffer.
    7678     */
    7779    DECLR3CALLBACKMEMBER(int, pfnCardReaderDownControl,(PPDMICARDREADERDOWN pInterface, void *pvUser,
     
    9294struct PDMICARDREADERUP
    9395{
     96    /** @todo r=bird: Why on earth is CardReaderUp part of the names here??
     97     *        Please do s/pfnCardReaderUp/pfn/g. */
    9498    DECLR3CALLBACKMEMBER(int, pfnCardReaderUpEstablishContext,(PPDMICARDREADERUP pInterface, int32_t lSCardRc));
    9599    DECLR3CALLBACKMEMBER(int, pfnCardReaderUpStatus,(PPDMICARDREADERUP pInterface, void *pvUser, int32_t lSCardRc,
     
    115119
    116120#endif
     121
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette