2006-03-03

Why windows will collapse ultimately

Subject: [ntdev] WdfUsbTargetDeviceSendControlTransferSynchronously and timeouts
update: Like this wasn't enough. Below are excerpts from
find . -name \*dll |        xargs strings -- |        grep -i '^[a-z0-9_]*$' |        awk '{ print length($1) "\t" $1 }' |        sort -n
output (executed in WinXP system directory):
50      ZwAccessCheckByTypeResultListAndAuditAlarmByHandle
51      Java_NPDS_npDSJavaPeer_SetSendMouseClickEvents_stub
51      Java_NPDS_npDSJavaPeer_SetShowPositionControls_stub
51      JET_errDistributedTransactionNotYetPreparedToCommit
52      ACTIVATION_CONTEXT_SECTION_COM_INTERFACE_REDIRECTION
52      ConvertSecurityDescriptorToStringSecurityDescriptorA
52      ConvertSecurityDescriptorToStringSecurityDescriptorW
53      ACTIVATION_CONTEXT_SECTION_GLOBAL_OBJECT_RENAME_TABLE
55      ACTIVATION_CONTEXT_SECTION_COM_TYPE_LIBRARY_REDIRECTION
55      SxspComProgIdRedirectionStringSectionGenerationCallback
56      Java_NPDS_npDSJavaPeer_GetSendOpenStateChangeEvents_stub
56      Java_NPDS_npDSJavaPeer_GetSendPlayStateChangeEvents_stub
56      SxspComTypeLibRedirectionStringSectionGenerationCallback
57      SxspComputeInternalAssemblyIdentityAttributeBytesRequired
57      SxspWindowClassRedirectionStringSectionGenerationCallback
62      SxspComputeInternalAssemblyIdentityAttributeEncodedTextualSize
62      SxspGenerateTextuallyEncodedPolicyIdentityFromAssemblyIdentity
64      RtlpQueryAssemblyInformationActivationContextDetailedInformation
71      RtlpQueryFilesInAssemblyInformationActivationContextDetailedInformation
which probably gives us the champion. As a comparison, for linux-2.6.15
find . -type f -follow -name '*.[chS]' |        xargs grep -hi '[a-z0-9_]\{70,\}' -- /dev/null
gives:
70 ZORRO_PROD_PHASE5_BLIZZARD_1230_II_FASTLANE_Z3_CYBERSCSI_CYBERSTORM060
So windows is one character closer to hell than linux.
--Tags:-[]-[]-----------

1 comment:

  1. I think that people @ windows has to make APIs pass a "usability API comite" or something...at least for some APIs

    ReplyDelete