次の方法で共有


CEL_SEM_CREATE (Windows Embedded CE 6.0)

1/6/2010

This structure is used to identify a semaphore that was created or opened with CreateSemaphore.

Syntax

typedef struct __CEL_SEM_CREATE {
  HANDLE hSem;
  DWORD dwInitCount;
  DWORD dwMaxCount;
  WCHAR szName[0];
} CEL_SEM_CREATE, *PCEL_SEM_CREATE;

Members

  • hSem
    Handle of the semaphore that was created.
  • dwInitCount
    Corresponds to the lInitialCount parameter of CreateSemaphore.
  • dwMaxCount
    Corresponds to the lMaximumCount parameter of CreateSemaphore.
  • szName
    Null-terminated string that corresponds to the lpName parameter of CreateSemaphore. The length of the name can be inferred from the length given in the event header, CEL_HEADER.

Requirements

Header celog.h
Windows Embedded CE Windows CE 3.0 and later

See Also

Reference

CeLog Event Tracking Structures
CEL_HEADER
CreateSemaphore