- document and partly implement DevicePropertiesExA/W()
[reactos.git] / reactos / lib / devmgr / stubs.c
index 50a4e2b..00f064a 100644 (file)
  * UPDATE HISTORY:
  *      04-04-2004  Created
  */
-#include <windows.h>
-#include "devmgr.h"
-
-#define UNIMPLEMENTED \
-  DbgPrint("DEVMGR:  %s at %s:%d is UNIMPLEMENTED!\n",__FUNCTION__,__FILE__,__LINE__)
+#include <precomp.h>
 
+#define NDEBUG
+#include <debug.h>
 
 /***************************************************************************
  * NAME                                                         EXPORTED
@@ -546,213 +544,3 @@ DeviceManagerPrintW(LPCWSTR lpMachineName,
   UNIMPLEMENTED;
   return FALSE;
 }
-
-
-/***************************************************************************
- * NAME                                                         EXPORTED
- *      DeviceAdvancedPropertiesA
- *
- * DESCRIPTION
- *   Invokes the device properties dialog, this version may add some property pages
- *   for some devices
- *
- * ARGUMENTS
- *   hWndParent:    Handle to the parent window
- *   lpMachineName: Machine Name, NULL is the local machine
- *   lpDeviceID:    Specifies the device whose properties are to be shown
- *
- * RETURN VALUE
- *   -1: if errors occured
- *
- * REVISIONS
- *
- * NOTE
- *
- * @unimplemented
- */
-int
-WINAPI
-DeviceAdvancedPropertiesA(HWND hWndParent,
-                          LPCSTR lpMachineName,
-                          LPCSTR lpDeviceID)
-{
-  UNIMPLEMENTED;
-  return -1;
-}
-
-
-/***************************************************************************
- * NAME                                                         EXPORTED
- *      DeviceAdvancedPropertiesW
- *
- * DESCRIPTION
- *   Invokes the device properties dialog, this version may add some property pages
- *   for some devices
- *
- * ARGUMENTS
- *   hWndParent:    Handle to the parent window
- *   lpMachineName: Machine Name, NULL is the local machine
- *   lpDeviceID:    Specifies the device whose properties are to be shown
- *
- * RETURN VALUE
- *   -1: if errors occured
- *
- * REVISIONS
- *
- * NOTE
- *
- * @unimplemented
- */
-int
-WINAPI
-DeviceAdvancedPropertiesW(HWND hWndParent,
-                          LPCWSTR lpMachineName,
-                          LPCWSTR lpDeviceID)
-{
-  UNIMPLEMENTED;
-  return -1;
-}
-
-
-/***************************************************************************
- * NAME                                                         EXPORTED
- *      DeviceCreateHardwarePage
- *
- * DESCRIPTION
- *   Creates a hardware page
- *
- * ARGUMENTS
- *   hWndParent: Handle to the parent window
- *   lpGuid:     Guid of the device
- *
- * RETURN VALUE
- *   Returns the handle of the hardware page window that has been created or
- *   NULL if it failed.
- *
- * REVISIONS
- *
- * NOTE
- *
- * @unimplemented
- */
-HWND
-WINAPI
-DeviceCreateHardwarePage(HWND hWndParent,
-                         LPGUID lpGuid)
-{
-  UNIMPLEMENTED;
-  return NULL;
-}
-
-
-/***************************************************************************
- * NAME                                                         EXPORTED
- *      DeviceCreateHardwarePageEx
- *
- * DESCRIPTION
- *   Creates a hardware page
- *
- * ARGUMENTS
- *   hWndParent:     Handle to the parent window
- *   lpGuids:        An array of guids of devices that are to be listed
- *   uNumberOfGuids: Numbers of guids in the Guids array
- *   Unknown:        Unknown parameter, see NOTEs
- *
- * RETURN VALUE
- *   Returns the handle of the hardware page window that has been created or
- *   NULL if it failed.
- *
- * REVISIONS
- *
- * NOTE
- *   uUnknown seems to be some kind of flag how the entries should be displayed,
- *   in Win it seems to be always 0x00000001
- *
- * @unimplemented
- */
-HWND
-WINAPI
-DeviceCreateHardwarePageEx(HWND hWndParent,
-                           LPGUID lpGuids,
-                           UINT uNumberOfGuids,
-                           UINT Unknown)
-{
-  UNIMPLEMENTED;
-  return NULL;
-}
-
-
-/***************************************************************************
- * NAME                                                         EXPORTED
- *      DevicePropertiesExA
- *
- * DESCRIPTION
- *   Invokes the extended device properties dialog
- *
- * ARGUMENTS
- *   hWndParent:    Handle to the parent window
- *   hInst:         Handle to the application instance
- *   lpMachineName: Machine Name, NULL is the local machine
- *   lpDeviceID:    Specifies the device whose properties are to be shown
- *   Unknown:       Unknown parameter, see NOTEs
- *
- * RETURN VALUE
- *   >=0: if no errors occured
- *   -1:  if errors occured
- *
- * REVISIONS
- *
- * NOTE
- *   Unknown seems to be a BOOL, not sure what it affects
- *
- * @unimplemented
- */
-int
-WINAPI
-DevicePropertiesExA(HWND hWndParent,
-                    HINSTANCE hInst,
-                    LPCSTR lpMachineName,
-                    LPCSTR lpDeviceID,
-                    DWORD Unknown)
-{
-  UNIMPLEMENTED;
-  return -1;
-}
-
-
-/***************************************************************************
- * NAME                                                         EXPORTED
- *      DevicePropertiesExW
- *
- * DESCRIPTION
- *   Invokes the extended device properties dialog
- *
- * ARGUMENTS
- *   hWndParent:    Handle to the parent window
- *   hInst:         Handle to the application instance
- *   lpMachineName: Machine Name, NULL is the local machine
- *   lpDeviceID:    Specifies the device whose properties are to be shown
- *   Unknown:       Unknown parameter, see NOTEs
- *
- * RETURN VALUE
- *   >=0: if no errors occured
- *   -1:  if errors occured
- *
- * REVISIONS
- *
- * NOTE
- *   Unknown seems to be a BOOL, not sure what it affects
- *
- * @unimplemented
- */
-int
-WINAPI
-DevicePropertiesExW(HWND hWndParent,
-                    HINSTANCE hInst,
-                    LPCWSTR lpMachineName,
-                    LPCWSTR lpDeviceID,
-                    DWORD Unknown)
-{
-  UNIMPLEMENTED;
-  return -1;
-}