Skip to content

Latest commit

 

History

History
513 lines (248 loc) · 10.8 KB

PyWKSTA.md

File metadata and controls

513 lines (248 loc) · 10.8 KB

PyWKSTA

PyWKSTA_INFO_* Object

The following WKSTA_INFO levels are supported.

PyWKSTA_INFO_100 Object

A dictionary holding the infomation in a Win32 WKSTA_INFO_100 structure.

Properties

  • int platform_id

    Indicates platform level to use to retrieve platform specific information

  • string/PyUnicode computername

    Name of the local computer

  • string/PyUnicode langroup

    Name of the domain to which computer belongs

  • int ver_major

    Major version number of operating system running on the computer

  • int ver_minor

    Minor version number of operating system running on the computer

PyWKSTA_INFO_101 Object

A dictionary holding the infomation in a Win32 WKSTA_INFO_101 structure.

Properties

  • int platform_id

    Indicates platform level to use to retrieve platform specific information

  • string/PyUnicode computername

    Name of the local computer

  • string/PyUnicode langroup

    Name of the domain to which computer belongs

  • int ver_major

    Major version number of operating system running on the computer

  • int ver_minor

    Minor version number of operating system running on the computer

  • string/PyUnicode lanroot

    Path to the LANMAN directory

PyWKSTA_INFO_102 Object

A dictionary holding the infomation in a Win32 WKSTA_INFO_102 structure.

Properties

  • int platform_id

    Indicate platform level to use to retrieve platform specific information

  • string/PyUnicode computername

    Name of the local computer

  • string/PyUnicode langroup

    Name of the domain to which computer belongs

  • int ver_major

    Major version number of operating system running on the computer

  • int ver_minor

    Minor version number of operating system running on the computer

  • string/PyUnicode lanroot

    Path to the LANMAN directory

  • int logged_on_users

    Number of users who are logged on to the local computer

PyWKSTA_INFO_302 Object

A dictionary holding the infomation in a Win32 WKSTA_INFO_302 structure.

Properties

  • int char_wait

    number of seconds the computer will wait for a remote resource to become available

  • int collection_time

    number of milliseconds the computer will collect data before sending the data to a character device resource. The workstation waits the specified time or collects the number of characters specified by wki302_maximum_collection_count, whichever comes first.

  • int maximum_collection_count

    Specifies the number of bytes of information the computer will collect before sending the data to a character device resource. The workstation collects the specified number of bytes or waits the time specified by wki302_collection_time, whichever comes first.

  • int keep_conn

    Specifies the

number of seconds the server will

maintain an inactive connection

to a resource.

  • int keep_search

    Defines

the number of seconds an

inactive search will continue.

  • int max_cmds

    Specifies the number of simultaneous network device driver commands that can be sent to the network.

  • int num_work_buf

    Specifies the number of internal buffers the computer has.

  • int siz_work_buf

    Specifies the size, in bytes, of each internal buffer.

  • int max_wrk_cache

    Specifies the maximum size, in bytes, of an internal cache buffer.

  • int max_wrk_cache

    Indicates the number of seconds the server waits before disconnecting an inactive session.

  • int siz_error

    Specifies the size, in bytes, of an internal error buffer.

  • int num_alerts

    Specifies the maximum number of clients that can receive alert messages. (This member is not supported under MS-DOS.) The Alerter service registers at least three clients when it begins to run.

  • int num_services

    Specifies the number of services that can be installed on the computer at any time.

  • int errlog_sz

    Specifies the maximum size, in kilobytes, of the client's error log file.

  • int print_buf_time

    Specifies the number of seconds the server waits before closing inactive compatibility-mode print jobs.

  • int num_char_buf

    Specifies the number of character pipe buffers and device buffers the client can have.

  • int siz_char_buf

    Specifies the maximum size, in bytes, of a character pipe buffer and device buffer.

  • string/PyUnicode wrk_heuristics

    Pointer to a Unicode string of flags used to control a client's operation.

  • int mailslots

    Specifies the maximum number of mailslots allowed.

  • int num_dgram_buf

    Specifies the number of buffers to allocate for receiving datagrams.

PyWKSTA_INFO_402 Object

A dictionary holding the infomation in a Win32 WKSTA_INFO_402 structure.

Properties

  • int char_wait

    number of seconds the computer will wait for a remote resource to become available

  • int collection_time

    number of milliseconds the computer will collect data before sending the data to a character device resource. The workstation waits the specified time or collects the number of characters specified by wki402_maximum_collection_count, whichever comes first.

  • string/PyUnicode maximum_collection_count

    Name of the domain to which computer belongs

  • int keep_conn

    Major version number of operating system running on the computer

  • int keep_search

    Minor version number of operating system running on the computer

  • int max_cmds

    ..

  • int num_work_buf

    Number of users who are logged on to the local computer

  • int siz_work_buf

    Number of users who are logged on to the local computer

  • int max_wrk_cache

    ..

  • int sess_timeout

    ..

  • int siz_error

    ..

  • int num_alerts

    ..

  • int num_services

    ..

  • int errlog_sz

    ..

  • int print_buf_time

    ..

  • int num_char_buf

    ..

  • int siz_char_buf

    Specifies the maximum size, in bytes, of a character pipe buffer and device buffer.

  • string/PyUnicode siz_char_buf

    ..

  • int mailslots

    ..

  • int num_dgram_buf

    ..

  • int max_threads

    Number of threads the computer can dedicate to the network

PyWKSTA_INFO_502 Object

A dictionary holding the infomation in a Win32 WKSTA_INFO_502 structure.

Properties

  • int char_wait

    number of seconds the computer will wait for a remote resource to become available

  • int collection_time

    number of milliseconds the computer will collect data before sending the data to a character device resource. The workstation waits the specified time or collects the number of characters specified by wki502_maximum_collection_count, whichever comes first.

  • int maximum_collection_count

    Specifies the number of bytes of information the computer will collect before sending the data to a character device resource. The workstation collects the specified number of bytes or waits the time specified by wki302_collection_time, whichever comes first.

  • int keep_conn

    Specifies the

number of seconds the server will

maintain an inactive connection

to a resource.

  • int max_cmds

    Specifies the number of simultaneous network device driver commands that can be sent to the network.

  • int max_wrk_cache

    Indicates the number of seconds the server waits before disconnecting an inactive session.

  • int siz_char_buf

    Specifies the maximum size, in bytes, of a character pipe buffer and device buffer.

  • int lock_quota

    TODO

  • int lock_increment

    TODO

  • int lock_maximum

    TODO

  • int pipe_increment

    TODO

  • int pipe_maximum

    TODO

  • int cache_file_timeout

    TODO

  • int dormant_file_limit

    TODO

  • int read_ahead_throughput

    TODO

  • int num_mailslot_buffers

    TODO

  • int num_srv_announce_buffers

    TODO

  • int max_illegal_datagram_events

    TODO

  • int illegal_datagram_event_reset_frequency

    TODO

  • bool log_election_packets

    TODO

  • bool use_opportunistic_locking

    TODO

  • bool use_unlock_behind

    TODO

  • bool use_close_behind

    TODO

  • bool buf_named_pipes

    TODO

  • bool use_lock_read_unlock

    TODO

  • bool utilize_nt_caching

    TODO

  • bool use_raw_read

    TODO

  • bool use_raw_write

    TODO

  • bool use_write_raw_data

    TODO

  • bool use_encryption

    TODO

  • bool buf_files_deny_write

    TODO

  • bool buf_read_only_files

    TODO

  • bool force_core_create_mode

    TODO

  • bool use_512_byte_max_transfer

    TODO

PyWKSTA_TRANSPORT_INFO_* Object

The following WKSTA_TRANSPORT_INFO levels are supported.

PyWKSTA_TRANSPORT_INFO_0 Object

A dictionary holding the infomation in a Win32 WKSTA_TRANSPORT_INFO_0 structure.

Properties

  • int quality_of_service

    Supplies a value that specifies the search order of the transport protocol with respect to other transport protocols. The highest value is searched first.

  • int number_of_vcs

    Specifies the number of clients communicating with the server using this transport protocol.

  • string/PyUnicode transport_name

    Specifies the device name of the transport protocol.

  • string/PyUnicode transport_address

    Specifies the address of the server on this transport protocol.

  • bool wan_ish

    This member is ignored by the NetWkstaTransportAdd function. For the NetWkstaTransportEnum function, this member indicates that this transport protocol is a WAN transport protocol. This member is set TRUE for NetBIOS/TCIP; it is set FALSE for NetBEUI and NetBIOS/IPX.

PyWKSTA_USER_INFO_* Object

The following WKSTA_USER_INFO levels are supported.

PyWKSTA_USER_INFO_0 Object

A dictionary holding the infomation in a Win32 WKSTA_USER_INFO_0 structure.

Properties

  • string/PyUnicode username

    Name of user currently logged on to the workstation

PyWKSTA_USER_INFO_1 Object

A dictionary holding the infomation in a Win32 WKSTA_USER_INFO_1 structure.

Properties

  • string/PyUnicode username

    Name of user currently logged on to the workstation

  • string/PyUnicode logon_domain

    Returns the domain name of the user account of the user currently logged on to the workstation.

  • string/PyUnicode oth_domains

    Returns the list of other operating system domains browsed by the workstation. The domain names are separated by blanks.

  • string/PyUnicode logon_server

    Returns the name of the computer that authenticated the server.