Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
2.0 KiB

  1. //=================================================================
  2. //
  3. // Sms95lanexp.h
  4. //
  5. // Copyright (c) 1995-2001 Microsoft Corporation, All Rights Reserved
  6. //
  7. //=================================================================
  8. #ifndef __SMS95LANEXP_H__
  9. #define __SMS95LANEXP_H__
  10. typedef ULONG* LPULONG;
  11. typedef DWORD CMBUSTYPE;
  12. typedef CMBUSTYPE* PCMBUSTYPE;
  13. // Function prototypes for dynamic linking
  14. typedef DWORD (WINAPI* PCIM32THK_CM_LOCATE_DEVNODE) ( PDEVNODE pdn, LPSTR HardwareKey, ULONG ulFlags );
  15. typedef DWORD (WINAPI* PCIM32THK_CM_GET_CHILD) ( PDEVNODE pdn, DEVNODE dnParent, ULONG ulFlags );
  16. typedef DWORD (WINAPI* PCIM32THK_CM_GET_SIBLING) ( PDEVNODE pdn, DEVNODE dnParent, ULONG ulFlags );
  17. typedef DWORD (WINAPI* PCIM32THK_CM_READ_REGISTRY_VALUE) ( DEVNODE dnDevNode, LPSTR pszSubKey, LPSTR pszValueName, ULONG ulExpectedType, LPVOID Buffer, LPULONG pulLength, ULONG ulFlags );
  18. typedef DWORD (WINAPI* PCIM32THK_CM_GET_DEVNODE_STATUS) ( LPULONG pulStatus, LPULONG pulProblemNumber, DEVNODE dnDevNode, ULONG ulFlags );
  19. typedef DWORD (WINAPI* PCIM32THK_CM_GET_DEVICE_ID) ( DEVNODE dnDevNode, LPVOID Buffer, ULONG BufferLen, ULONG ulFlags );
  20. typedef DWORD (WINAPI* PCIM32THK_CM_GET_DEVICE_ID_SIZE) ( LPULONG pulLen, DEVNODE dnDevNode, ULONG ulFlags );
  21. typedef DWORD (WINAPI* PCIM32THK_CM_GET_FIRST_LOG_CONF) ( PLOG_CONF plcLogConf, DEVNODE dnDevNode, ULONG ulFlags );
  22. typedef DWORD (WINAPI* PCIM32THK_CM_GET_NEXT_RES_DES) ( PRES_DES prdResDes, RES_DES rdResDes, RESOURCEID ForResource, PRESOURCEID pResourceID, ULONG ulFlags );
  23. typedef DWORD (WINAPI* PCIM32THK_CM_GET_RES_DES_DATA_SIZE) ( LPULONG pulSize, RES_DES rdResDes, ULONG ulFlags );
  24. typedef DWORD (WINAPI* PCIM32THK_CM_GET_RES_DES_DATA) ( RES_DES rdResDes, LPVOID Buffer, ULONG BufferLen, ULONG ulFlags );
  25. typedef DWORD (WINAPI* PCIM32THK_CM_GET_BUS_INFO) (DEVNODE dnDevNode, PCMBUSTYPE pbtBusType, LPULONG pulSizeOfInfo, LPVOID pInfo, ULONG ulFlags);
  26. typedef DWORD (WINAPI* PCIM32THK_CM_GET_PARENT) ( PDEVNODE pdn, DEVNODE dnChild, ULONG ulFlags );
  27. #endif