🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.lang.visualbasic
Article #456

Re: VB4.0でCreateMutexは使用できますか

#456
From: Akio Iwasaki
Date: Fri, 27 Feb 1998 00:00
38 lines
1876 bytes
>CreateMutexで使用している"SECURITY_ATTRIBUTES"の型が宣言されて
>いないからだと思うのですが、この型の定義を
>APIビューワーでは検索できませんでした。

以下VC++のBooks Onlinより、引用

typedef struct _SECURITY_ATTRIBUTES { // sa
    DWORD  nLength;
    LPVOID lpSecurityDescriptor;
    BOOL   bInheritHandle;
} SECURITY_ATTRIBUTES;

Members
nLength

Specifies the size, in bytes, of this structure. Set this value to the size
of the SECURITY_ATTRIBUTES structure.

Windows NT: Some functions that use the SECURITY_ATTRIBUTES structure do not
verify the value of the nLength member. However, an application should still
set it properly. That ensures current, future, and cross-platform
compatibility.

lpSecurityDescriptor

Points to a security descriptor for the object that controls the sharing of
it. If NULL is specified for this member, the object may be assigned the
default security descriptor of the calling process.

bInheritHandle

Specifies whether the returned handle is inherited when a new process is
created. If this member is TRUE, the new process inherits the handle


--
By Akio    Email: aiwasaki@pb.highway.ne.jp
Technical Details
Message-ID: <6d4562$acv$1@news01.highway.ne.jp>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6d0r5s$sa3@tusasim.tcs.ts.fujitsu.co.jp>

Show Full Headers
Complete Article Headers
X-Google-Language: Japanese,JIS
X-Google-Thread: 105c2e,11acc7e58c8ab5a6
X-Google-Attributes: gid105c2e,public
From: "Akio Iwasaki" <aiwasaki@pb.highway.ne.jp>
Subject: Re: VB4.0でCreateMutexは使用できますか
Date: 1998/02/27
Message-ID: <6d4562$acv$1@news01.highway.ne.jp>
X-Deja-AN: 328868727
Content-Transfer-Encoding: 7bit
References: <6d0r5s$sa3@tusasim.tcs.ts.fujitsu.co.jp>
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-2022-jp"
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: Highway Internet
Newsgroups: fj.lang.visualbasic